Xuanwo
4085fc7899
chore: Bump OpenDAL to v0.21.1 ( #639 )
...
* deps: Bump OpenDAL to v0.21.1
Signed-off-by: Xuanwo <github@xuanwo.io >
* Avoid using raw types when not needed
Signed-off-by: Xuanwo <github@xuanwo.io >
Signed-off-by: Xuanwo <github@xuanwo.io >
2022-11-27 10:18:39 +08:00
Ruihang Xia
30940e692a
feat: impl DROP TABLE on memory catalog based standalone mode ( #630 )
...
* feat: implement drop table for standalone mode
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update integration test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* enhancement test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2022-11-25 11:53:46 +08:00
Mike Yang
b371ce0f48
test: added tests for statements methods ( #622 )
...
* test: added tests for parse_column_default_constraint
* test: added test for sql_column_def_to_grpc_column_def
* refactor: remove hardcode in test
2022-11-25 11:35:06 +08:00
Lei, HUANG
ac7f52d303
fix: start datanode instance before frontend services ( #634 )
2022-11-25 11:25:57 +08:00
fys
c5b0d2431f
feat: remove InsertBatch in gRPC message ( #570 )
2022-11-24 14:04:48 +08:00
Lei, HUANG
4038dd4067
fix: add concurrency control for catalog manager ( #619 )
2022-11-24 11:10:33 +08:00
Dongxu Wang
8be0f05570
chore: able to config axum timeout in toml ( #624 )
2022-11-24 11:09:21 +08:00
Ruihang Xia
7b37e99a45
feat: deregister table for MemoryCatalogManager ( #620 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2022-11-24 09:36:27 +08:00
dennis zhuang
c09775d17f
feat: adds metrics, tracing and retry layer to object-store ( #621 )
2022-11-23 11:40:03 +08:00
Francis Du
4a9cf49637
feat: support explain syntax ( #546 )
2022-11-22 21:22:32 +08:00
Lei, HUANG
c144a1b20e
feat: impl alter table in distributed mode ( #572 )
2022-11-22 15:17:25 +08:00
Yingwen
0791c65149
refactor: replace some usage of MutableBitmap by BitVec ( #610 )
2022-11-21 17:36:53 +08:00
LFC
62fcb54258
fix: correctly open table when distributed datanode restart ( #576 )
...
Co-authored-by: luofucong <luofucong@greptime.com >
2022-11-21 15:15:14 +08:00
Lei, HUANG
2b6b979d5a
fix: remove datanode mysql options in standalone mode ( #595 )
2022-11-21 14:15:47 +08:00
Dongxu Wang
b6fa316c65
chore: correct typos ( #589 ) ( #592 )
2022-11-21 14:07:45 +08:00
Lei, HUANG
ca5734edb3
feat: disable mysql server on datande when running standalone mode ( #593 )
2022-11-21 12:12:26 +08:00
Mike Yang
5428ad364e
fix: make nullable as default when alter table ( #591 )
2022-11-21 12:11:19 +08:00
Ruihang Xia
f465040acc
feat: lazy evaluated record batch stream ( #573 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2022-11-18 21:42:10 +08:00
Yingwen
22ae983280
refactor: Use re-exported arrow mod from datatypes crate ( #571 )
2022-11-18 18:38:07 +08:00
Igor Morozov
e1f326295f
feat: implement DESCRIBE TABLE ( #558 )
...
Also need to support describe table in other catalog/schema
2022-11-18 16:34:00 +08:00
aievl
6d762aa9dc
feat: update mysql default listen port to 4406 ( #568 )
...
Co-authored-by: zhaozhenhang <zhaozhenhang@kuaishou.com >
2022-11-18 14:55:11 +08:00
Xuanwo
1f0b39cc8d
chore: Bump OpenDAL to v0.20 ( #569 )
...
Signed-off-by: Xuanwo <github@xuanwo.io >
2022-11-18 14:17:38 +08:00
dennis zhuang
f8788273d5
feat: drop column for alter table ( #562 )
...
* feat: drop column for alter table
* refactor: rename RemoveColumns to DropColumns
* test: alter table
* chore: error msg
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
* fix: test_parse_alter_drop_column
Co-authored-by: Ruihang Xia <waynestxia@gmail.com >
2022-11-17 23:00:16 +08:00
LFC
e7b4d2b9cd
feat: Implement table_info() for DistTable ( #536 ) ( #557 )
...
* feat: Implement `table_info()`` for `DistTable` (#536 )
* Update src/catalog/src/error.rs
Co-authored-by: Yingwen <1405012107@qq.com >
Co-authored-by: luofucong <luofucong@greptime.com >
Co-authored-by: Yingwen <1405012107@qq.com >
2022-11-17 18:40:58 +08:00
Lei, Huang
8faa6b0f09
refactor: start options ( #545 )
...
* refactor: config options for frontend/datanode/standalone
* chore: rename MetaClientOpts::metasrv_addr to MetaClientOpts::metasrv_addrs
* fix: clippy
* fix: change default meta-srv addr to 127.0.0.1:3002
2022-11-17 11:47:39 +08:00
Yingwen
55f18b5a0b
refactor: Rename table-engine to mito ( #539 )
...
* refactor: Rename table-engine to mito
* style: Format codes
* docs: Update mito engine comment
* docs: Explain what is mito in README
2022-11-16 18:19:29 +08:00
Lei, Huang
7b43f027f9
fix: respect node id and metasrv addr in config file ( #542 )
...
* fix: respect node id and metasrv addr in config file
* fix: fmt
* fix: unit test
2022-11-16 18:16:11 +08:00
fys
5e42eb5ec6
fix: field number of proto ( #541 )
2022-11-16 17:41:34 +08:00
LFC
872ac8058f
feat: distributed execute gRPC and Prometheus query in Frontend ( #520 )
...
* feat: distributed execute GRPC and Prometheus query in Frontend
* feat: distributed execute GRPC and Prometheus query in Frontend
* Apply suggestions from code review
Co-authored-by: Lei, Huang <6406592+v0y4g3r@users.noreply.github.com >
* feat: distributed execute GRPC and Prometheus query in Frontend
* fix: do not convert timestamp to string when converting logical plan to SQL
* fix: tests
* refactor: no mock
* refactor: 0.0.0.0 -> 127.0.0.1
* refactor: 0.0.0.0 -> 127.0.0.1
* refactor: 0.0.0.0 -> 127.0.0.1
Co-authored-by: luofucong <luofucong@greptime.com >
Co-authored-by: Lei, Huang <6406592+v0y4g3r@users.noreply.github.com >
2022-11-16 14:59:48 +08:00
SSebo
29ad16d048
chore: fix typo ( #524 )
2022-11-16 11:53:25 +08:00
Ning Sun
173a8f67a1
test: ignore empty s3 bucket ( #529 )
2022-11-16 11:35:12 +08:00
Ruihang Xia
7ba512980a
chore: add APACHE-2.0 license header ( #518 )
...
* feat: add license checker workflow
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix existing header
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* specify license for internal sub-crate
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix rustfmt
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2022-11-15 18:05:46 +08:00
dennis zhuang
6c6eeda429
refactor: options and sample configurations ( #514 )
...
* refactor: options and sample configurations
* chore: newline at end of file
* chore: format code
* chore: remove comment and set sample configurations to default values
* chore: use single quoted string in sample configuration files
2022-11-15 17:39:22 +08:00
Jiachun Feng
cabb55322b
fix: meta minor fix ( #513 )
...
* chore: fix metaclient example
* chore: initial sequece value
2022-11-15 16:38:05 +08:00
Ruihang Xia
1565c8d236
chore: specify import style in rustfmt ( #460 )
...
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2022-11-15 15:58:54 +08:00
dennis zhuang
102e512a0a
feat: enable freeze-stdlib feature in rust-python ( #511 )
2022-11-15 15:06:58 +08:00
Jiachun Feng
a0144ffa61
fix: leader checker ( #510 )
...
* fix: leader checker bug
* chore: rm of test_dist_table_scan
2022-11-15 14:52:47 +08:00
Lei, Huang
934c18b914
feat: dist create database ( #495 )
...
* feat: create database in distribute mode
* rebase develop
Co-authored-by: luofucong <luofucong@greptime.com >
2022-11-15 14:52:35 +08:00
LFC
2c0d2da5a7
feat: Frontend show tables and databases ( #504 )
...
* feat: Frontend show tables and databases
Co-authored-by: luofucong <luofucong@greptime.com >
2022-11-15 14:21:50 +08:00
dennis zhuang
6e93c5e1de
fix: make scripts API work again ( #507 )
2022-11-15 11:39:53 +08:00
Ruihang Xia
a88c649088
fix: force set gRPC create request's table ID to None ( #502 )
...
* fix: force set gRPC create request's table ID to None
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* fix: fix style
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2022-11-15 11:17:42 +08:00
Lei, Huang
deb7d5fc2c
fix: opentsdb/influxdb tags are not put to primary key indices ( #506 )
2022-11-15 11:06:51 +08:00
Jiachun Feng
3f12f5443d
feat: meta election ( #492 )
...
* feat: meta election
* feat: election by etcd
* chore: redirect on re-election
* chore: by cr
* chore: by cr
* chore: by cr
* chore: rename CI
2022-11-15 11:04:15 +08:00
dennis zhuang
448e8f139e
fix: table and database conflicts ( #491 )
...
* fix: table conflicts in different database, #483
* feat: support db query param in prometheus remoting read/write
* feat: support db query param in influxdb line protocol
* fix: make schema_name work in gRPC
* fix: table data path
* fix: table manifest dir
* feat: adds opendal logging layer to object store
* Update src/frontend/src/instance.rs
Co-authored-by: LFC <bayinamine@gmail.com >
* Update src/frontend/src/instance.rs
Co-authored-by: LFC <bayinamine@gmail.com >
* Update src/servers/src/line_writer.rs
Co-authored-by: Lei, Huang <6406592+v0y4g3r@users.noreply.github.com >
* Update src/servers/src/line_writer.rs
Co-authored-by: Lei, Huang <6406592+v0y4g3r@users.noreply.github.com >
* fix: compile error
* ci: use larger runner for running coverage
* fix: address already in use in test
Co-authored-by: LFC <bayinamine@gmail.com >
Co-authored-by: Lei, Huang <6406592+v0y4g3r@users.noreply.github.com >
2022-11-14 23:16:52 +08:00
Ning Sun
76732d6506
fix: add more parameters to postgresql for python client ( #493 )
2022-11-14 21:55:26 +08:00
Ning Sun
74c236a308
feat: stream write for postgresql query results ( #472 )
2022-11-14 21:50:11 +08:00
Ning Sun
c673debc89
feat: Update Http SQL api for dashboard requirements ( #474 )
...
* feat: make sql api output a vector to support multi-statement
* feat: add execution_time_ms to http sql and script api
* fix: use u128 for execution time
* Apply suggestions from code review
Co-authored-by: Yingwen <realevenyag@gmail.com >
* fix: lint error
Co-authored-by: Yingwen <realevenyag@gmail.com >
2022-11-14 21:40:31 +08:00
Yingwen
281eae9f44
fix: Fix filtering out rows incorrectly during dedup phase ( #484 )
...
* fix: dedup should not mark element as unneeded
It should only mark element as selected, because some column of
different rows may have same value.
* refactor: Rename dedup to find_unique
As the original `dedup` method only mark bitmap to true when it finds
the element is unique, so `find_unique` is more appropriate for its
name.
* test: Renew bitmap in test_batch_find_unique
* chore: Update comments
2022-11-14 21:40:17 +08:00
Lei, Huang
4e7efbbe7e
fix: insert batch missing semantic type ( #499 )
2022-11-14 21:18:01 +08:00
Yingwen
508f4cdfd0
fix: Fix test_insert_and_select hangs occasionally ( #496 )
...
* fix: Also handles admin request in another runtime
* chore: Describe why executes admin request in another runtime
* test: Enable test_insert_and_select
2022-11-14 21:11:25 +08:00