dennis zhuang
8fb97ea1d8
fix: losing region numbers after altering table ( #1209 )
2023-03-21 11:19:43 +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
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
Yingwen
ad5c47185d
feat: wait flush until the flush is done ( #1188 )
...
* feat: Add wait argument to flush
* test(storage): Fix flush tests
2023-03-20 11:25:19 +08:00
Weny Xu
7cfa30b2ab
feat: add shutdown for standalone and metasrv ( #1174 )
2023-03-17 11:35:17 +08:00
Ning Sun
a7676d8860
refactor: port div_ceil from stdlib to avoid unstable features ( #1191 )
...
* refactor: use float div&ceil to avoid unstable features
* refactor: port div_ceil from rust stdlib
2023-03-16 22:55:35 +08:00
Yingwen
9a001d3392
chore(datanode): derive serde default for Wal/CompactionConfig ( #1173 )
2023-03-16 11:56:28 +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
Lei, HUANG
17eb99bc52
feat: allow manual table flush through HTTP API ( #1184 )
2023-03-15 20:15:34 +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
Eugene Tolbakov
b530ac9e60
chore(from_unixtime): remove UDF from_unixtime ( #1179 )
...
* chore(from_unixtime): remove UDF from_unixtime
* chore(from_unixtime): restore timestamp.rs for further usage
* chore(from_unixtime): address fmt issue
2023-03-15 16:27:09 +08:00
Zheming Li
f712f978cf
feat: Report disk usage stats to metasrv thru heartbeat ( #1167 )
...
* feat: Report disk usage stats to metasrv thru heartbeat
Signed-off-by: Zheming Li <nkdudu@126.com >
* Update src/catalog/src/error.rs
Co-authored-by: fys <40801205+Fengys123@users.noreply.github.com >
* Update src/catalog/src/lib.rs
Co-authored-by: fys <40801205+Fengys123@users.noreply.github.com >
* Update src/mito/src/table.rs
Co-authored-by: fys <40801205+Fengys123@users.noreply.github.com >
---------
Signed-off-by: Zheming Li <nkdudu@126.com >
Co-authored-by: fys <40801205+Fengys123@users.noreply.github.com >
2023-03-15 03:11:32 +00:00
discord9
cbf64e65b9
refactor: put dataframe & query into greptime module ( #1172 )
...
* feat: impl getitem for `vector`
* feat: mv `query`&`dataframe` into `greptime` for PyO3
* refactor: allow call dataframe&query
* refactor: pyo3 query&dataframe
* chore: CR advices
2023-03-15 11:01:43 +08: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
Weny Xu
cdc111b607
refactor: make the cmd hold the application instance ( #1159 )
2023-03-14 15:18:50 +08:00
LFC
8d3999df5f
fix: failed to run subquery wrapped in two parentheses ( #1157 )
2023-03-14 10:59:43 +08:00
Weny Xu
296c6dfcbf
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-13 20:10:37 +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