Weny Xu
408de51be8
feat: implement JsonOpener and CsvOpener ( #1367 )
...
* feat: introduce JsonOpener and CsvOpener
* refactor: refactor Opener
* docs: add doc
2023-04-17 11:42:16 +08:00
LFC
f7b7a9c801
feat: implement COPY for cluster ( #1388 )
2023-04-17 11:04:47 +08:00
Ruihang Xia
a6e41cdd7b
chore: bump arrow, parquet, datafusion and tonic ( #1386 )
...
* bump arrow, parquet, datafusion, tonic and greptime-proto
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* add analyzer and fix test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix clippy warnings
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-04-15 00:03:15 +08:00
Ning Sun
90cd3bb5c9
chore: switch mysql_async to git dep ( #1383 )
2023-04-14 07:04:34 +00:00
Ning Sun
43391e0162
chore: update pgwire and rustls libraries ( #1380 )
...
* feat: update pgwire to 0.13 and fix grafana compatibility
* chore: update pgwire and rustls
* chore: remove unsued imports
* style: format toml
2023-04-14 11:06:01 +08:00
Yingwen
0819582a26
feat: Add alter table procedure ( #1354 )
...
* feat: Implement AlterTableProcedure
* test: Test alter table procedure
* feat: support alter table by procedure in datanode
* chore: update comment
2023-04-13 14:05:53 +08:00
Lei, HUANG
76640402ba
fix: update cargo lock ( #1375 )
2023-04-13 11:08:35 +08:00
Weny Xu
fac9c17a9b
feat: implement infer schema from single file ( #1348 )
...
* feat: implement infer schema from file
* feat: implement compression type
* refactor: remove unnecessary BufReader
* refactor: remove SyncIoBridge and using tokio_util::io::SyncIoBridge instead
* chore: apply suggestions from CR
2023-04-11 16:59:30 +08:00
Weny Xu
a90798a2c1
test: add tests for file table engine ( #1353 )
...
* test: add tests for file table engine
* test: refactor open table test and add close engine test
2023-04-11 06:25:08 +00:00
Weny Xu
29c6155ae3
feat: introduce file table engine ( #1323 )
...
* feat: introduce file table engine
* chore: apply cr suggestions
* refactor: refactor immutable manifest
* chore: apply cr suggestions
* refactor: refactor immutable manifest
* chore: apply suggestions from code review
Co-authored-by: dennis zhuang <killme2008@gmail.com >
* chore: apply suggestions from CR
* chore: apply suggestions from code review
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
---------
Co-authored-by: dennis zhuang <killme2008@gmail.com >
Co-authored-by: Lei, HUANG <6406592+v0y4g3r@users.noreply.github.com >
2023-04-10 12:03:36 +08:00
Lei, HUANG
b7bdee6de9
feat: ignoring time zone info when import from external files ( #1341 )
...
* feat: ignore timezone info when copy from external files
* chore: rebase onto develop
2023-04-10 11:41:34 +08:00
LFC
a3e47955b8
feat: information schema ( #1327 )
...
* feat: basic information schema
* show information schema only for current catalog
* fix: fragile tests
2023-04-07 16:50:14 +08:00
Weny Xu
ef134479ef
feat: support multi table engines in distributed mode ( #1316 )
...
* chore: bump greptime-proto to 59afacd
* feat: support multi table engines in distributed mode
2023-04-04 10:27:08 +08:00
LFC
215cea151f
refactor: move PromQL execution to Frontend ( #1297 )
...
* refactor: move PromQL execution to Frontend
2023-04-03 11:34:03 +08:00
LFC
48c2841e4d
feat: execute python script in distributed mode ( #1264 )
...
* feat: execute python script in distributed mode
* fix: rebase develop
2023-04-02 20:36:48 +08:00
localhost
a2b262ebc0
chore: add http metrics server in datanode node when greptime start in distributed mode ( #1256 )
...
* chore: add http metrics server in datanode node when greptime start in distributed mode
* chore: add some docs and license
* chore: change metrics_addr to resolve address already in use error
* chore add metrics for meta service
* chore: replace metrics exporter http server from hyper to axum
* chore: format
* fix: datanode mode branching error
* fix: sqlness test address already in use and start metrics in defualt config
* chore: change metrics location
* chore: use builder pattern to builder httpserver
* chore: remove useless debug_assert macro in httpserver builder
* chore: resolve conflicting build error
* chore: format code
2023-03-31 18:37:52 +08:00
dennis zhuang
972f64c3d7
chore: improve opendal layers ( #1295 )
...
* chore: improve opendal layers
* chore: log level
2023-03-31 09:48:11 +00:00
LFC
eb77f9aafd
feat: start LocalManager in Metasrv ( #1279 )
...
* feat: procedure store in Metasrv, backed by Etcd; start `LocalManager` in Metasrv leader
* fix: resolve PR comments
* fix: resolve PR comments
2023-03-31 15:32:59 +08:00
dennis zhuang
563adbabe9
feat!: improve region manifest service ( #1268 )
...
* feat: try to use batch delete in ManifestLogStorage
* feat: clean temp dir when startup with file backend
* refactor: export region manifest checkpoint actions magin and refactor storage options
* feat: purge unused manifest and checkpoint files by repeat gc task
* chore: debug deleted logs
* feat: adds RepeatedTask and refactor all gc tasks
* chore: clean code
* feat: export gc_duration to manifest config
* test: assert gc works
* fix: typo
* Update src/common/runtime/src/error.rs
Co-authored-by: LFC <bayinamine@gmail.com >
* Update src/common/runtime/src/repeated_task.rs
Co-authored-by: LFC <bayinamine@gmail.com >
* Update src/common/runtime/src/repeated_task.rs
Co-authored-by: LFC <bayinamine@gmail.com >
* fix: format
* Update src/common/runtime/src/repeated_task.rs
Co-authored-by: Yingwen <realevenyag@gmail.com >
* chore: by CR comments
* chore: by CR comments
* fix: serde default for StorageConfig
* chore: remove compaction config in StandaloneOptions
---------
Co-authored-by: LFC <bayinamine@gmail.com >
Co-authored-by: Yingwen <realevenyag@gmail.com >
2023-03-31 10:42:00 +08:00
LFC
fae293310c
feat: unify describe table execution ( #1285 )
2023-03-31 09:59:19 +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
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
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
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
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
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
LFC
b2a09c888a
feat: phi accrual failure detector ( #1200 )
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
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
LFC
f6669a8201
feat: add GRPC unary call service to our GreptimeDB ( #1196 )
...
* feat: add GRPC unary call service to our GreptimeDB
2023-03-20 14:27:32 +08:00
Weny Xu
facdda4d9f
feat: implement CONNECTION clause of Copy To ( #1163 )
...
* feat: implement CONNECTION clause of Copy To
* test: add tests for s3 backend
* Apply suggestions from code review
Co-authored-by: Yingwen <realevenyag@gmail.com >
---------
Co-authored-by: Yingwen <realevenyag@gmail.com >
2023-03-16 11:36:38 +08:00
Xieqijun
cd8be77968
feat(procedure): Max retry time ( #1095 )
...
* feat: procedure config
* fix: modify config
* feat: add retry logic
* feat: add error
* feat: add it
* feat: add it
* feat: add it
* feat: rm retry from runner
* feat: use backon
* feat: add retry_interval
* feat: add retry_interval
* fix: conflict
* fix: cr
* feat: add retry error and id
* feat: rename
* refactor: execute
* feat: use config dir
* fix: cr
* fix: cr
* fix: fmt
* fix: fmt
* fix: pr
* fix: it
* fix: rm unless cmd params
* feat: add toml
* fix: ut
* feat: add rolling back
* fix: cr
* fix: cr
* fix: cr
* fix: ci
* fix: ci
* fix: ci
* chore: Apply suggestions from code review
---------
Co-authored-by: Yingwen <realevenyag@gmail.com >
2023-03-15 08:28:08 +00:00
Ruihang Xia
e8d2e82335
fix: ambiguous column reference ( #1177 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-14 13:18:43 +00:00
LFC
8d3999df5f
fix: failed to run subquery wrapped in two parentheses ( #1157 )
2023-03-14 10:59:43 +08:00
LFC
604c20a83d
refactor: remove the SQL execution interfaces in Datanode ( #1135 )
...
* refactor: remove the SQL execution interfaces in Datanode
2023-03-13 18:45:30 +08:00
Ning Sun
85dd7e4f24
feat: implement promql query on grpc ( #1134 )
...
* feat: implement promql query on grpc
* test: resolve test errors
* test: add tests for promql grpc api
* refactor: align prom object name with proto
* chore: switch proto revision to main
2023-03-13 15:24:34 +08:00
Yingwen
dfd91a1bf8
chore: Bump version to 0.1.1 ( #1155 )
2023-03-11 01:11:23 +08:00
localhost
ded31fb069
chore: remove addr from datanode error message ( #1152 )
...
* chore: remove addr from datanode error message
* chore: add log for flight get error
2023-03-10 14:13:01 +08:00
Ning Sun
58bdf27068
fix: make pyo3 optional again ( #1153 )
...
* fix: make pyo3 optional again
* Update src/script/Cargo.toml
Co-authored-by: dennis zhuang <killme2008@gmail.com >
---------
Co-authored-by: dennis zhuang <killme2008@gmail.com >
2023-03-09 14:16:48 +00:00
Ruihang Xia
38fe1a2f01
chore: update dependencies ( #1148 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-09 14:24:29 +08:00
Yingwen
9619940569
ci: Allow error when building release for non-x86 platform ( #1140 )
2023-03-08 18:12:06 +08:00
Weny Xu
ed8252157a
chore: code styling ( #1137 )
...
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-08 08:10:12 +00:00
SSebo
95090592f0
feat: mysql prepare replacing sql placeholder to param ( #1086 )
...
* feat: mysql prepare by replace ? in sql to param
* chore: mysql prepare statment support time param
* chore: prepare test more types
* chore: add TODO
2023-03-08 11:02:29 +08:00
Ruihang Xia
3a527c0fd5
feat: impl proc macro range_fn and some aggr_over_time functions ( #1072 )
...
* impl range_fn proc macro
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* impl some aggr_over_time fn
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* impl present_over_time and absent_over_time
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* accomplish planner, and correct type cast
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* clean up
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* document the macro
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix styles
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update irate/idelta test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* add test cases
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-07 23:39:45 +08:00
Weny Xu
7169fe2989
feat: implement Copy From ( #1064 )
2023-03-07 17:54:11 +08:00
Lei, HUANG
a4c01f4a3a
feat: memory profiling ( #1124 )
...
* feat: use jemalloc as default allocator
* feat: add feature for mem-prof
* feat: add errors
* make common-mem-prof optional dep
* fix: toml format
* doc: add profile doc
* fix: typo
2023-03-07 17:12:51 +08:00
Weny Xu
bd98a26cca
chore: bump greptime-proto to latest(ad01872) ( #1102 )
2023-03-07 10:52:42 +08:00