luofucong
40c55e4da7
feat: GRPC unary insert method
2023-03-17 19:11:46 +08:00
Ruihang Xia
44493e9d8c
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 >
2023-03-14 18:29:38 +08:00
evenyag
1f62b36537
chore(servers): Change flush message
2023-03-14 17:16:39 +08:00
Ruihang Xia
7b8e65ce93
chore: merge public repo ( #12 )
...
* feat: implement table flush (#1121 )
* feat: add flush method for trait
* feat: implement flush via grpc
* chore: move table_dir/region_name/region_id to table crate
* chore: Update src/mito/src/table.rs
---------
Co-authored-by: Yingwen <realevenyag@gmail.com >
* fix: use correct env var (#1166 )
* fix: use correct env var
* fix: move COPY up so rustup know it's nightly
* fix: add `pyo3_backend` in GHA yml
* chore: name for `TODO`
* temp: not set `pyo3_backend` before find DSO
* fix: release linux with pyo3_backend
* fix: failed to run subquery wrapped in two parentheses (#1157 )
* refactor: add the separate GitHub Action job to push the image to the UCloud registry (#1170 )
* refactor: make the cmd hold the application instance (#1159 )
* fix: export 'PYO3_CROSS_LIB_DIR' when cargo build for aarch64-linux and refactor matrix opts (#1171 )
---------
Co-authored-by: Weny Xu <wenymedia@gmail.com >
Co-authored-by: Yingwen <realevenyag@gmail.com >
Co-authored-by: discord9 <55937128+discord9@users.noreply.github.com >
Co-authored-by: LFC <luofucong@greptime.com >
Co-authored-by: zyy17 <zyylsxm@gmail.com >
2023-03-14 16:42:40 +08:00
Yingwen
6475339ad0
Merge pull request #10 from GreptimeTeam/feat/manual-flush-http
...
feat: manual flush http API
2023-03-14 16:37:56 +08:00
Lei, HUANG
0bd802c70d
Update src/servers/src/error.rs
...
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-14 16:26:47 +08:00
evenyag
4b4f8f27e8
chore(storage): Adjust log level
2023-03-14 16:14:25 +08:00
Lei, HUANG
c994e0de88
fix: format
2023-03-14 16:13:57 +08:00
Lei, HUANG
d1ba9ca126
fix: unit tests
2023-03-14 16:11:25 +08:00
Lei, HUANG
8b9671f376
feat: manual flush http API
2023-03-14 15:49:37 +08:00
Yingwen
dcf66d9d52
chore(datanode): derive serde default for Wal/CompactionConfig ( #8 )
2023-03-14 15:22:13 +08:00
evenyag
83aeadc506
feat: Region writer wait flush done
2023-03-14 14:09:22 +08:00
LFC
8658d428e0
fix: failed to run subquery wrapped in two parentheses ( #1157 )
2023-03-14 11:52:25 +08:00
Weny Xu
6f0f72c377
feat: implement table flush ( #1121 )
...
* feat: add flush method for trait
* feat: implement flush via grpc
* chore: move table_dir/region_name/region_id to table crate
* chore: Update src/mito/src/table.rs
---------
Co-authored-by: Yingwen <realevenyag@gmail.com >
2023-03-14 11:52:25 +08:00
Lei, HUANG
7ee54b3e69
fix: don't skip wal in test
2023-03-14 11:19:17 +08:00
Lei, HUANG
9b4dcba8cf
fix: check errors
2023-03-14 10:51:16 +08:00
Lei, HUANG
c3bcb1111f
fix: fmt
2023-03-13 20:24:25 +08:00
Lei, HUANG
a4ebd03a61
feat: skip wal for user table
2023-03-13 20:18:41 +08:00
Lei, HUANG
e7daf1226f
feat: tune parquet parameters
2023-03-13 20:17:23 +08:00
Lei, HUANG
05c0ea9a59
feat: tune parquet parameters ( #1 )
...
* feat: tune parquet parameters
* Update src/storage/src/sst/parquet.rs
---------
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-13 20:11:06 +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
Weny Xu
c7f114c8fa
feat: add shutdown for frontend ( #1161 )
2023-03-13 17:59:36 +08:00
Weny Xu
8a83de4ea5
feat: add shutdown for datanode ( #1160 )
2023-03-13 17:49:26 +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
LFC
f790fa05c1
fix: validate insert request ( #1142 )
...
* fix: validate GRPC insert request has the value when required by column schema, before actually made any change to the DB
* fix: resolve PR comments
2023-03-13 11:03:51 +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
discord9
610a895b66
feat: abi3 & abi37 ( #1151 )
2023-03-09 20:08:07 +08:00
fys
3414ac46b0
fix: remove unnecessary braces around block return value ( #1147 )
2023-03-09 03:42:04 +00:00
Lei, HUANG
757b4a87a0
fix: remove profile in mem-prof crate to suppress compiler warnings ( #1146 )
2023-03-09 03:39:24 +00:00
Weny Xu
ed8252157a
chore: code styling ( #1137 )
...
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-08 08:10:12 +00:00
Ruihang Xia
3e0fb7e75b
test: ignore two test cases due to arrow-datafusion#5513 ( #1138 )
...
* test: ignore two test cases due to arrow-datafusion#5513
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* clean up
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-08 07:29:34 +00:00
Bohan Wu
ba3ce436df
refactor(SST): UUID as id in FileMeta ( #1116 )
...
* feat(SST): use a newType named FileId for FileMeta
* chore: rename some functions
* fix: compatible for previous FileMeta format
* fix: alias for file_id when getting deserialized
2023-03-08 14:27:20 +08:00
Eugene Tolbakov
b31a6cb506
refactor: replace tempdir with tempfile ( #1123 )
...
* refactor: replace tempdir with tempfile
* refactor(query): move tempfile dependency under the workspace's Cargo.toml
* refactor(tempfile): create common-test-util
* refactor(tempfile): fix toml format
* refactor(tempfile): remove tempfile out of dependencies
* refactor(tempfile): fix incorrect toml
2023-03-08 11:15:56 +08: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
elijah
819b60ca13
feat(datatypes): implement VectorOp::take ( #1115 )
...
* feat: add take index method for VectorOp
* chore: make clippy happy
* chore: make clippy happy
* chore: improve the code
* chore: improve the code
* chore: add take null test
* chore: fix clippy
2023-03-07 19:27:33 +08:00
Weny Xu
7169fe2989
feat: implement Copy From ( #1064 )
2023-03-07 17:54:11 +08:00
Zheming Li
b70672be77
feat: track disk usage of regions ( #1125 )
...
* feat: track disk usage of regions
Signed-off-by: Zheming Li <nkdudu@126.com >
* calculate disk usage when call
* add default on file meta
---------
Signed-off-by: Zheming Li <nkdudu@126.com >
2023-03-07 17:13:12 +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
shuiyisong
1b4236d698
refactor: use split instead of serde_urlencoded in http auth ( #1110 )
...
* refactor: change from urlencoded to regex
* refactor: change from urlencoded to regex
* chore: add unit test
* chore: update comment
* chore: remove local benchmark test
* chore: minor fix
* chore: remove unused dep
2023-03-07 10:51:47 +08:00
Lei, HUANG
e8cc9b4b29
test: add manifest compatibility tests ( #1130 )
...
* tests: add manifest compatibility tests
* fix: clippy
2023-03-06 19:31:54 +08:00
discord9
379f581780
test: add Integrated Test for Coprocessor& fix minor bugs ( #1122 )
...
* feat: cache `Runtime`
* fix: coprstream schema not set
* test: integrated tests for Coprocessor
* fix: UDF fixed
* style: remove unused import
* chore: remove more unused import
* feat: `filter`, (r)floordiv for Vector
* chore: CR advices
* feat: auto convert to `lit`
* chore: fix typo
* feat: from&to `pyarrow.array`
* feat: allow `pyarrow.array` as args to builtins
* chore: cargo fmt
* test: CI add `pyarrow`
* test: install Python&PyArrow in CI
* test: not cache depend for now
* chore: CR advices
* test: fix name
* style: rename
2023-03-06 19:20:59 +08:00
fys
ff6cfe8e70
refactor: move the batch_get to KvStore trait ( #1029 )
...
* move batch_get from KvStoreExt to KvStore
* add some unit tests
* add some unit test
* add some unit tests
* expose batch_get grpc method
2023-03-06 17:35:43 +08:00
fys
559880cb84
fix: can not find catalog when create table ( #1118 )
...
* fix: get catalog by name in RemoteCatalogManager
* cr
* cr
* cr
* fix: ut failed
2023-03-06 14:44:40 +08:00
Ruihang Xia
b76b27f3bf
refactor: try to remove unnecessary tests in error mod ( #750 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2023-03-06 12:31:30 +08:00
yuanbohan
d4e0dc3685
feat: specify prom server start addr ( #1111 )
...
* feat: specify promql server start addr
* refactor: rename promql to prom in Prometheus API server scenario
2023-03-06 11:07:21 +08:00
Eugene Tolbakov
b022556b79
fix: apply ttl and write_buffer_size options when a table is created via procedure ( #1117 )
...
* fix: apply ttl and write_buffer_size options when a table is created via procedure
* fix: address code review suggestion
* fix: use borrowing of table_options correctly
2023-03-05 19:37:23 +08:00
shuiyisong
bd065ea6e8
fix: remove incorrect continue ( #1114 )
2023-03-02 19:52:17 +08:00