Ruihang Xia
b71bb4e5fa
feat: implement restart argument for sqlness-runner ( #1262 )
...
* refactor standalone mode and distribute mode start process
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* implement restart arg
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* Update tests/runner/src/env.rs
Co-authored-by: LFC <bayinamine@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: LFC <bayinamine@gmail.com >
2023-03-31 10:02:19 +08:00
LFC
fae293310c
feat: unify describe table execution ( #1285 )
2023-03-31 09:59:19 +08:00
LFC
3e51640442
ci: release binary with embedded dashboard enabled ( #1283 )
2023-03-30 21:35:47 +08:00
discord9
b40193d7da
test: align RsPy PyO3 Behavior ( #1280 )
...
* feat: allow PyList Return in PyO3 Backend
* feat: mixed list
* feat: align&test
* chore: PR advices
2023-03-30 17:45:21 +08:00
Ruihang Xia
b5e5f8e555
chore(deps): bump arrow and parquet to 36.0.0, and datafusion to the latest ( #1282 )
...
* chore: update arrow, parquet to 36.0 and datafusion
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update deps
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* Apply suggestions from code review
Co-authored-by: LFC <bayinamine@gmail.com >
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: LFC <bayinamine@gmail.com >
2023-03-30 16:24:10 +08:00
zyy17
192fa0caa5
ci: only builds binaries for manually trigger workflow ( #1284 )
2023-03-30 15:58:28 +08:00
Weny Xu
30eb676d6a
feat: implement create external table parser ( #1252 )
...
* refactor: move parse_option_string to util
* feat: implement create external table parser
2023-03-30 13:37:53 +08:00
Ruihang Xia
d7cadf6e6d
fix: nyc-taxi bench tools and limit max parallel compaction task number ( #1275 )
...
* limit mas parallel compaction subtask
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* correct type map
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-29 09:16:53 +00:00
Lei, HUANG
d7a1435517
fix: remove backtrace from ratelimit error ( #1273 )
2023-03-29 15:58:01 +08:00
xiaomin tang
0943079de2
feat: Create SECURITY.md ( #1270 )
...
Create SECURITY.md
2023-03-28 19:14:29 +08:00
shuiyisong
509d07b798
chore: add build_table_route_prefix ( #1269 )
v0.2.0-nightly-20230328
2023-03-28 16:26:24 +08:00
Yingwen
e72ce5eaa9
fix: Adds FileHandle to ChunkStream ( #1255 )
...
* test: Add compaction test
* test: Test read during compaction
* test: Add s3 object store to test
* test: only run compact test
* feat: Hold file handle in chunk stream
* test: check files still exist after compact
* feat: Revert changes to develop.yaml
* test: Simplify MockPurgeHandler
2023-03-28 16:22:07 +08:00
Ruihang Xia
f491a040f5
feat: implelemt rate, increase and delta in PromQL ( #1258 )
...
* clean up
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix increase fn
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* impl rate and delta
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix typo
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix IS_RATE condition
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* more tests about rate and delta
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* ensure range_length is not zero
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-28 15:21:06 +08:00
Yingwen
47179a7812
feat: Support sending multiple affected rows ( #1203 )
...
* feat: Support sending multiple affected rows
* feat: Skip federated check if query starts with insert
* style: Fix clippy
2023-03-28 14:34:14 +08:00
shuiyisong
995a28a27d
feat: impl BatchDelete ( #1253 )
...
* chore: impl `BatchDelete`
* chore: add `batch_delete` to meta-client
* fix: auth param length check
* fix: auth param length check
* chore: rebase develop
* chore: use `filter_map`
Co-authored-by: LFC <bayinamine@gmail.com >
* chore: update error msg
Co-authored-by: LFC <bayinamine@gmail.com >
* fix: pre-allocate vec length
---------
Co-authored-by: LFC <bayinamine@gmail.com >
2023-03-28 14:06:13 +08:00
LFC
ed1cb73ffc
fix: a minor misuse of tokio::select ( #1266 )
2023-03-28 13:50:35 +08:00
dennis zhuang
0ffa628c22
refactor: scripts perf and metrics ( #1261 )
...
* refactor: retrieve pyvector datatype by inner vector
* perf: replace all ok_or to ok_or_else
* feat: adds metrics for scripts execution
2023-03-28 10:07:21 +08:00
Lei, HUANG
5edd2a3dbe
feat: upgrade opendal ( #1245 )
...
* chore: upgrade opendal
* chore: finish upgrading opendal
* fix: clippy complaints
* fix some tests
* fix: all unit tests
* chore: rebase develop
* fix: sqlness tests
* optimize imports
* chore: rebase develop
* doc: add todo
2023-03-28 09:47:33 +08:00
Ning Sun
e63b28bff1
feat: add dbname and health check for grpc api ( #1220 )
...
* feat: add dbname and health check for grpc api
* refactor: move health check to dedicated service
* chore: switch to merged proto rev
* feat: implement healthcheck on server-side
2023-03-28 09:46:30 +08:00
zyy17
8140d4e3e5
ci: modify the copy path of binary artifacts ( #1257 )
2023-03-27 21:49:42 +08:00
shuiyisong
6825459c75
chore: ignore dashboard files ( #1260 )
2023-03-27 19:11:31 +08:00
Ning Sun
7eb4d81929
feat: adopt pgwire 0.12 and simplify encoding apis ( #1250 )
...
* feat: adopt pgwire 0.12 and simplify encoding apis
* refactor: remove duplicated format match clause
2023-03-27 18:16:43 +08:00
discord9
8ba0741c81
fix: set locals to main.dict too ( #1242 )
2023-03-27 15:23:52 +08:00
zyy17
0eeb5b460c
ci: install python requests lib in release container image ( #1241 )
...
* ci: install python requests lib in release container image
* refactor: add requirements.txt
2023-03-27 15:20:31 +08:00
LFC
65ea6fd85f
feat: embed dashboard into GreptimeDB binary ( #1239 )
...
* feat: embed dashboard into GreptimeDB binary
* fix: resolve PR comments
2023-03-27 15:08:44 +08:00
dennis zhuang
4f15b26b28
feat: region manifest checkpoint ( #1202 )
...
* chore: adds log when manifest protocol is changed
* chore: refactor region manifest
* temp commit
* feat: impl region manifest checkpoint
* feat: recover region version from manifest snapshot
* test: adds region snapshot test
* test: region manifest checkpoint
* test: alter region with manifest checkpoint
* fix: revert storage api
* feat: delete old snapshot
* refactor: manifest log storage
* Update src/storage/src/version.rs
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
* Update src/storage/src/manifest/checkpoint.rs
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
* Update src/storage/src/manifest/region.rs
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
* Update src/storage/src/manifest/region.rs
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
* chore: by CR comments
* refactor: by CR comments
* fix: typo
* chore: tweak start_version
---------
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-27 11:15:52 +08:00
Lei, HUANG
15ee4ac729
fix: noop flush impl for numbers table ( #1247 )
...
* fix: noop flush impl for numbers table
* fix: clippy
2023-03-27 10:54:07 +08:00
dennis zhuang
b4fc8c5b78
refactor: make sql function in scripts return a list of column vectors ( #1243 )
v0.2.0-nightly-20230327
2023-03-27 08:50:19 +08:00
Lei, HUANG
6f81717866
fix: skip empty parquet ( #1236 )
...
* fix: returns None if parquet file does not contain any rows
* fix: skip empty parquet file
* chore: add doc
* rebase develop
* fix: use flatten instead of filter_map with identity
2023-03-26 09:39:15 +08:00
Lei, HUANG
77f9383daf
fix: allow larger compaction window to reduce parallel task num ( #1223 )
...
fix: unit tests
2023-03-24 17:12:13 +08:00
discord9
c788b7fc26
feat: slicing PyVector&Create DataFrame from sql ( #1190 )
...
* chore: some typos
* feat: slicing for pyo3 vector
* feat: slice tests
* feat: from_sql
* feat: from_sql for dataframe
* test: df tests
* feat: `from_sql` for rspython
* test: tweak a bit
* test: and CR advices
* typos: ordered points
* chore: update error msg
* test: add more `slicing` testcase
2023-03-24 15:37:45 +08:00
LFC
0f160a73be
feat: metasrv collects datanode heartbeats for region failure detection ( #1214 )
...
* feat: metasrv collects datanode heartbeats for region failure detection
* chore: change visibility
* fix: fragile tests
* Update src/meta-srv/src/handler/persist_stats_handler.rs
Co-authored-by: fys <40801205+Fengys123@users.noreply.github.com >
* Update src/meta-srv/src/handler/failure_handler.rs
Co-authored-by: fys <40801205+Fengys123@users.noreply.github.com >
* fix: resolve PR comments
* fix: resolve PR comments
* fix: resolve PR comments
---------
Co-authored-by: shuiyisong <xixing.sys@gmail.com >
Co-authored-by: fys <40801205+Fengys123@users.noreply.github.com >
2023-03-24 04:28:34 +00:00
LFC
92963b9614
feat: execute "delete" in query engine (in the form of "LogicalPlan") ( #1222 )
...
fix: execute "delete" in query engine (in the form of "LogicalPlan")
2023-03-24 12:11:58 +08:00
Yingwen
f1139fba59
fix: Holds FileHandle in ParquetReader to avoid the purger purges it ( #1224 )
2023-03-23 14:24:25 +00:00
Ruihang Xia
4e552245b1
fix: range func tests ( #1221 )
...
* remove ignore on range fn tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* placeholder for changes, deriv and resets
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-23 17:33:11 +08:00
Ruihang Xia
3126bbc1c7
docs: use CDN for logos ( #1219 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-23 11:39:24 +08:00
LFC
b77b561bc8
refactor: execute insert with select in query engine ( #1181 )
...
* refactor: execute insert with select in query engine
* fix: resolve PR comments
2023-03-23 10:38:26 +08:00
dennis zhuang
501faad8ab
chore: rename params in flush api ( #1213 )
2023-03-22 14:07:23 +08:00
Eugene Tolbakov
5397a9bbe6
feat(to_unixtime): add initial implementation ( #1186 )
...
* feat(to_unixtime): add initial implementation
* feat(to_unixtime): use Timestamp for conversion
* feat(to_unixtime): implement conversion to Result<VectorRef>
* feat(to_unixtime): make unit test pass
* feat(to_unixtime): preserve None for invalid timestamps
* feat(to_unixtime): address code review suggestions
* feat(to_unixtime): add an sqlness test
* feat(to_unixtime): adjust the assertion for the sqlness test
* Update tests/cases/standalone/common/select/dummy.sql
---------
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-21 12:41:07 +00:00
Ruihang Xia
f351ee7042
docs: update document string and site ( #1211 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-21 07:01:08 +00:00
Ruihang Xia
e0493e0b8f
feat: flush all tables on shutdown ( #1185 )
...
* feat: impl flush on shutdown (#14 )
* feat: impl flush on shutdown
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* powerful if-else!
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* retrieve table handler from schema provider
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* feat: impl flush on shutdown
* feat: impl flush on shutdown
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* powerful if-else!
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* retrieve table handler from schema provider
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* Update src/datanode/src/instance.rs
Co-authored-by: dennis zhuang <killme2008@gmail.com >
* fix: uncommitted merge change
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: dennis zhuang <killme2008@gmail.com >
2023-03-21 14:36:30 +08:00
LFC
b2a09c888a
feat: phi accrual failure detector ( #1200 )
v0.1.2
2023-03-21 11:47:47 +08:00
LFC
af101480b3
feat: add gRPC reflection service ( #1208 )
...
* feat: add gRPC reflection service
* feat: add gRPC reflection service
2023-03-21 11:23:29 +08:00
Weny Xu
b8f7f603cf
test: add copy clause sqlness tests ( #1198 )
2023-03-21 11:22:26 +08:00
dennis zhuang
8fb97ea1d8
fix: losing region numbers after altering table ( #1209 )
2023-03-21 11:19:43 +08:00
discord9
21ce9c1163
docs: more explain in readme ( #1195 )
...
* docs: more explain in readme
* fix: typos
* fix: CR advices
2023-03-20 21:56:34 +08:00
Ruihang Xia
0a22375ac1
fix: nyc-taxi bench suite ( #1204 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-20 21:53:01 +08:00
fys
0596d20a3b
fix: can not create table in the local distributed environment ( #1207 )
...
fix: create table in local distribute env
2023-03-20 20:12:35 +08:00
Weny Xu
e19c8fa2b6
refactor: combine Copy To and Copy From ( #1197 )
...
* refactor: combine Copy To and Copy From
* Apply suggestions from code review
Co-authored-by: LFC <bayinamine@gmail.com >
* Apply suggestions from code review
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
---------
Co-authored-by: LFC <bayinamine@gmail.com >
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
2023-03-20 19:23:25 +08:00
LFC
ad886f5b3e
feat: GRPC client stream interface for insertion ( #1206 )
...
* feat: GRPC client stream interface for insertion
* feat: GRPC client stream interface for insertion
2023-03-20 18:45:37 +08:00