JeremyHi
|
bd1a5dc265
|
feat: metric engine support alter (#3098)
* feat: metric engine support alter
* chore: by comment
* feat: get physical table route for frontend
|
2024-01-05 09:46:39 +00:00 |
|
LFC
|
ec43b9183d
|
feat: table route for metric engine (#3053)
* feat: table route for metric engine
* feat: register logical regions
* fix: open logical region (#96)
---------
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
|
2024-01-04 06:30:17 +00:00 |
|
Weny Xu
|
b2b752337b
|
fix: fix non-physical error msg (#3087)
|
2024-01-03 09:40:03 +00:00 |
|
AntiTopQuark
|
4460af800f
|
feat(TableRouteValue): add panic notes and type checks (#3031)
* refactor(TableRouteValue): add panic notes and type checks
* chore: add deprecate develop branch warning
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* add error defines and checks
* Update README.md
* update code format and fix tests
* update name of error
* delete unused note
* fix unsafe .expect() for region_route()
* update error name
* update unwrap
* update code format
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: Ruihang Xia <waynestxia@gmail.com>
|
2023-12-30 13:02:26 +00:00 |
|
LFC
|
eadde72973
|
chore: "fix: revert unfinished route table change" (#3009)
Revert "fix: revert unfinished route table change (#3008)"
This reverts commit 8ce8a8f3c7.
|
2023-12-27 02:40:59 +00:00 |
|
Ruihang Xia
|
8ce8a8f3c7
|
fix: revert unfinished route table change (#3008)
* Revert "refactor: hide `RegionRoute` behind `TableRouteValue` (#2989)"
This reverts commit 1641fd572a.
* Revert "feat: MetricsEngine table route (part 1) (#2952)"
This reverts commit 6ac47e939c.
|
2023-12-26 09:56:49 +00:00 |
|
niebayes
|
7d509e97f6
|
chore: move some commonly referenced crates to workspace Cargo.toml (#2981)
fix: resolve conflicts
|
2023-12-22 09:13:18 +00:00 |
|
LFC
|
6ac47e939c
|
feat: MetricsEngine table route (part 1) (#2952)
* refactor: make `TableRouteValue` an enum to add the variant of MetricsEngine table route
* fix: resolve PR comments
* Update src/common/meta/src/key/table_route.rs
Co-authored-by: Weny Xu <wenymedia@gmail.com>
---------
Co-authored-by: Weny Xu <wenymedia@gmail.com>
|
2023-12-20 07:31:59 +00:00 |
|
Ruihang Xia
|
6b8dbcfb54
|
chore: update toolchain to 20231219 (#2932)
* update toolchain file, remove unused feature gates
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix format
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update action file
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update to 12-19
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2023-12-19 07:24:08 +00:00 |
|
dennis zhuang
|
cf8b6c77dc
|
chore: clean up unused errors (#2901)
|
2023-12-11 09:08:50 +00:00 |
|
Wei
|
3a4c9f2b45
|
feat: supports decimal type in RPC (#2788)
* refactor: ColumnDataTypeWrapper
* feat: decimal128 grpc
* feat: add test case
* chore: add TODO
* chore: empty line
* chore: remove precision and scale
* refactor: remove precision and scale
* chore: remove sqlness test
* chore: rename
* chore: proto version
* chore: cr comment.
Co-authored-by: Yingwen <realevenyag@gmail.com>
* Update src/mito2/src/memtable/time_series.rs
Co-authored-by: Yingwen <realevenyag@gmail.com>
---------
Co-authored-by: Yingwen <realevenyag@gmail.com>
|
2023-11-24 09:19:33 +00:00 |
|
Ruihang Xia
|
93f21b188d
|
chore: unify workspace dependencies and remove some unused (#2713)
* log-store
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* base64
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* udeps
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* snafu
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* snafu style
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* change the workspace deps' style
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2023-11-09 07:34:22 +00:00 |
|
Weny Xu
|
ce867fb583
|
feat: introduce the region lease keeper (#2645)
* feat: introduce the region lease keeper
* chore: apply suggestions from CR
* refactor: simplify `retain_active_regions`
* refactor: remove Default of RegionStat
* chore: add todo comments
* chore: apply suggestions from CR
* refactor: simplify `retain_active_regions`
* fix: fix ci
|
2023-11-02 12:01:17 +00:00 |
|
WU Jingdi
|
180bc64cb0
|
feat: change metric crate from metrics to prometheus (#2655)
* feat: change metrics to prometheus
* chore: fix code advise
* chore: resolve merge conflict
* chore: fix code advise
|
2023-10-31 15:46:57 +00:00 |
|
Weny Xu
|
88eb69530a
|
refactor: remove router rpc (#2646)
|
2023-10-31 04:54:56 +00:00 |
|
Weny Xu
|
81ccb58fb4
|
refactor!: compare with origin bytes during the transactions (#2538)
* refactor: compare with origin bytes during the transaction
* refactor: use serialize_str instead
* Update src/common/meta/src/key.rs
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
* chore: apply suggestions from CR
---------
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
|
2023-10-09 08:17:19 +00:00 |
|
shuiyisong
|
007f7ba03c
|
refactor: extract plugins crate (#2487)
* chore: move frontend plugins fn
* chore: move datanode plugins to fn
* chore: add opt plugins
* chore: add plugins to meta-srv
* chore: setup meta plugins, wait for router extension
* chore: try use configurator for grpc too
* chore: minor fix fmt
* chore: minor fix fmt
* chore: add start meta_srv for hook
* chore: merge develop
* chore: minor fix
* chore: replace Arc<Plugins> with PluginsRef
* chore: fix header
* chore: remove empty file
* chore: modify comments
* chore: remove PluginsRef type alias
* chore: remove `OptPlugins`
|
2023-10-09 04:54:27 +00:00 |
|
Yingwen
|
a6116bb866
|
feat(mito): Add cache manager (#2488)
* feat: add cache manager
* feat: add cache to reader builder
* feat: add AsyncFileReaderCache
* feat: Impl AsyncFileReaderCache
* chore: move moka dep to workspace
* feat: add moka cache to the manager
* feat: implement parquet meta cache
* test: test cache manager
* feat: consider vec size
* style: fix clippy
* test: fix config api test
* feat: divide cache
* test: test disabling meta cache
* test: fix config api test
* feat: remove meta cache if file is purged
|
2023-09-26 11:46:19 +00:00 |
|
Ruihang Xia
|
515ce825bd
|
feat: stack trace style debug print for error (#2489)
* impl macro stack_trace_debug
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* manually mark external error
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* ignore warnings
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix clippy warnings
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* use debug print
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* simplify the error and warn macro
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix ut
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* add docs
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* replace snafu backtrace with location
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2023-09-26 11:23:21 +00:00 |
|
shuiyisong
|
20f4f7971a
|
refactor: remove source and location in snafu display (#2428)
* refactor: remove source pt 1
* refactor: remove source pt 2
* refactor: remove source pt 3
* refactor: remove location pt 1
* refactor: remove location pt 2
* chore: remove rustc files
* chore: fix error case
* chore: fix test
* chore: fix test
* chore: fix cr issue
Co-authored-by: fys <40801205+fengys1996@users.noreply.github.com>
---------
Co-authored-by: fys <40801205+fengys1996@users.noreply.github.com>
|
2023-09-21 02:55:24 +00:00 |
|
Yingwen
|
4a82926d72
|
docs: fix cargo doc errors and warnings (#2421)
* docs: fix cargo doc warnings and errors
* docs: fix warnings
* docs: fix warnings
* chore: rm src/common/function-macro/src/lib.rs
|
2023-09-17 11:45:15 +00:00 |
|
dennis zhuang
|
627c5b7419
|
feat: move table operations from frontend to operator crate (#2411)
* feat: move table operations from frontend to operator crate
* chore: blank line
* fix: toml format
* chore: move constants
|
2023-09-16 07:58:45 +00:00 |
|
Zhenchi
|
4af126eb1b
|
feat: consolidate Insert request related partitioning and distributed processing operations into Inserter (#2346)
* refactor: RegionRequest as param of RegionRequestHandler.handle
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* feat: partition insert & delete reqs for both standalone and distributed mode
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* chore: nit change
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* fix: wrong function nameg
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* feat: do request in inserter & deleter
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* feat: remove RegionRequestHandler.handle
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* refactor: rename table_creator
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* chore: nit change
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* refactor: address comments
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* chore: nit change
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
|
2023-09-12 07:57:15 -05:00 |
|
Weny Xu
|
f386329e29
|
refactor: introduce DdlTaskExecutor and refactor statement executor (#2341)
* feat: add kv store option
* refactor: refactor statement executor
* refactor: refactor standalone table creator
* chore: apply suggestions from CR
* chore: apply suggestions from CR
* refactor: move ShowCreateTable and CreateDatabase to StatementExecutor
* fix: fix RegionDistribution
* feat: build standalone
* chore: apply suggestions from CR
* chore: apply suggestions from CR
* chore: apply suggestions from CR
|
2023-09-12 07:57:15 -05:00 |
|
Zhenchi
|
dac6b2e80a
|
feat(frontend): migrate delete to region server (#2329)
* feat(frontend): migrate delete to region server
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* feat: add more check and do trim columns
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* refactor: RegionRequestHandler.handle retrun AffectedRows
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
|
2023-09-12 07:57:15 -05:00 |
|
Zhenchi
|
7dde9ce3ce
|
feat(frontend): migrate insert to region server (#2318)
* feat(frontend): migrate insert to region server
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* refactor: move converter to Inserter
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* chore: rename convert function
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* fix: address comments
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* fix: address comments
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* fix: add span id
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* fix: compilation
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
* retrigger action
* retrigger action
---------
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
|
2023-09-12 07:57:15 -05:00 |
|
JeremyHi
|
7746e5b172
|
feat: dist row inserter (#2231)
* feat: fronend row inserter
* feat: row splitter
chore: row splitter's unit test
* feat: RowDistInserter
* feat: make influxdb line protocol using row-based protocol
* Update src/partition/src/row_splitter.rs
Co-authored-by: Yingwen <realevenyag@gmail.com>
* Update src/frontend/src/instance/distributed/row_inserter.rs
Co-authored-by: Yingwen <realevenyag@gmail.com>
* chore: by review comment
* Update src/frontend/src/instance/distributed/row_inserter.rs
Co-authored-by: LFC <bayinamine@gmail.com>
* chore: by comment
---------
Co-authored-by: Yingwen <realevenyag@gmail.com>
Co-authored-by: LFC <bayinamine@gmail.com>
|
2023-08-24 06:58:05 +00:00 |
|
Niwaka
|
a8f2e4468d
|
feat: handle multiple grpc deletes (#2150)
* feat: handle multiple grpc deletes
* fix: make DistDeleter::grpc_delete return usize
* fix: remove backtrace from MissingTimeIndexColumn
* fix: avoid using unwrap in PartitionRuleManager::split_delete_request
* fix: simplify MissingTimeIndexColumn
|
2023-08-15 08:22:46 +00:00 |
|
Weny Xu
|
69a2036cee
|
feat!: add deserializer for Partition (#2169)
* feat!: add deserializer for Partition
* fix: fix tests
|
2023-08-15 03:36:58 +00:00 |
|
Ning Sun
|
c39de9072f
|
refactor: use workspace dependencies for internal modules (#2119)
* refactor: use workspace dependencies for internal modules
* fix: resolve issue with mock module in datanode
* refactor: update test modules
|
2023-08-08 11:02:34 +00:00 |
|
LFC
|
46fa3eb629
|
chore: upgrade rust toolchain to latest nightly (#2049)
* chore: upgrade rust toolchain to latest nightly
* rebase develop
* update rust toolchain in ci
|
2023-08-08 07:17:51 +00:00 |
|
shuiyisong
|
7efff2d704
|
fix: introduce taplo.toml and sort Cargo.toml (#2096)
* fix: add taplo.toml
* fix: introduce taplo.toml & sort cargo.toml
* chore: remove option in ci too
|
2023-08-04 06:44:45 +00:00 |
|
Ruihang Xia
|
5bd80a74ab
|
feat: prepare for implementing considering partition key in the distributed planner (#2000)
* basic impl
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix frontend logic
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* add sqlness test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* check substrait compatibility before pushdown
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* going to revert some rules
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix test and clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix compile error
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix typo
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* remove println
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* Apply suggestions from code review
Co-authored-by: Yingwen <realevenyag@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: Yingwen <realevenyag@gmail.com>
|
2023-07-31 12:36:23 +00:00 |
|
LFC
|
172febb1af
|
refactor!: trying to replace TableGlobalValue, part 2 (#1985)
* refactor!: using the new table metadata values
* fix: resolve PR comments
* fix: resolve PR comments
* fix: resolve PR comments
|
2023-07-19 12:01:43 +00:00 |
|
LFC
|
7cf6c2bd5c
|
refactor: trying to replace TableGlobalValue, part 1 (#1956)
* refactor: trying to replace TableGlobalValue, part 1
* fix: resolve PR comments
|
2023-07-17 11:32:46 +08:00 |
|
Ben Baoyi
|
9ff7670adf
|
refactor:remove common_error::prelude (#1946)
* feat:Remove common_error::prelude
* fix merge error
* cr comment
* fix error
|
2023-07-13 10:36:36 +08:00 |
|
Yingwen
|
f731193ddc
|
refactor: Define RegionId as a new type (#1903)
* refactor: Define RegionId as a new type
* chore: use into
* feat: custom debug print for region id
fix: test_show_create_table
|
2023-07-07 21:26:03 +08:00 |
|
Lei, HUANG
|
f287d3115b
|
chore: replace result assertions (#1840)
* s/assert!\((.*)\.is_ok\(\)\);/\1.unwrap\(\);/g
* s/assert!\((.*)\.is_some\(\)\);/\1.unwrap\(\);/g
|
2023-06-27 19:14:48 +08:00 |
|
LFC
|
fcff66e039
|
chore: deny unused results (#1825)
* chore: deny unused results
* rebase
|
2023-06-27 15:33:53 +08:00 |
|
Ruihang Xia
|
8c78368374
|
refactor: replace #[snafu(backtrace)] with Location (#1753)
* remove snafu backtrace
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-06-12 11:55:33 +08:00 |
|
LFC
|
5004cf6d9a
|
feat: make grpc insert requests in a batch (#1687)
* feat: make Prometheus remote write in a batch
* rebase
* fix: resolve PR comments
* fix: resolve PR comments
* fix: resolve PR comments
|
2023-06-02 09:06:48 +00:00 |
|
Ruihang Xia
|
2615718999
|
feat: merge scan for distributed execution (#1660)
* generate exec plan
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* move DatanodeClients to client crate
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* wip MergeScanExec::to_stream
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix compile errors
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix default catalog
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix expand order of new stage
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* move sqlness cases contains plan out of common dir
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* refactor information schema to allow duplicated scan call
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix: ignore two cases due to substrait
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* reorganise sqlness common cases
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix typos
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* redact round robin partition number
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* Apply suggestions from code review
Co-authored-by: Yingwen <realevenyag@gmail.com>
* skip tranforming projection
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* revert common/order
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* Update src/query/src/dist_plan/merge_scan.rs
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result again
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* resolve CR comments
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* ignore region failover IT
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result again and again
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* unignore some tests about projection
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* enable failover tests
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: Yingwen <realevenyag@gmail.com>
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
|
2023-06-02 06:42:54 +00:00 |
|
Weny Xu
|
0460f3ae30
|
test: add write test for region failover (#1673)
* test: add write test for region failover
* test: add written data assertion after failover
* test: support more storage types
|
2023-05-31 15:42:00 +08:00 |
|
Weny Xu
|
0eaae634fa
|
fix: invalidate table route cache (#1663)
|
2023-05-29 18:49:23 +08:00 |
|
fys
|
8f9e9686fe
|
chore: add metrics for table route getting (#1636)
chore: add metrics for getting table_route
|
2023-05-25 10:02:59 +08:00 |
|
JeremyHi
|
1225edb065
|
refactor: move rpc's commons to common-meta (#1625)
|
2023-05-23 10:07:24 +08:00 |
|
LFC
|
f64527da22
|
feat: region failover procedure (#1558)
* feat: region failover procedure
|
2023-05-22 19:54:52 +08:00 |
|
Niwaka
|
d461328238
|
fix: insert distributed table if partition column has default value (#1498)
* fix: insert distributed table if partition column has default value
* Address review
* address review
* address review
* chore: introduce assert_columns
---------
Co-authored-by: WenyXu <wenymedia@gmail.com>
|
2023-05-02 20:50:02 +08:00 |
|
LFC
|
17daf4cdff
|
feat: support "delete" in distributed mode (#1441)
* feat: support "delete" in distributed mode
* fix: resolve PR comments
|
2023-04-24 12:07:50 +08:00 |
|
dennis zhuang
|
2a9f482bc7
|
feat: show create table (#1336)
* temp commit
* feat: impl Display for CreateTable statement
* feat: impl show create table for standalone
* fix: forgot show.rs
* feat: clean code
* fix: typo
* feat: impl show create table for distributed
* test: add show create table sqlness test
* fix: typo
* fix: sqlness tests
* feat: render partition rules for distributed table
* Update src/sql/src/statements.rs
Co-authored-by: Yingwen <realevenyag@gmail.com>
* Update src/sql/src/statements.rs
Co-authored-by: Yingwen <realevenyag@gmail.com>
* Update src/sql/src/statements.rs
Co-authored-by: Yingwen <realevenyag@gmail.com>
* Update src/sql/src/statements/create.rs
Co-authored-by: Yingwen <realevenyag@gmail.com>
* chore: by CR comments
* fix: compile error
* fix: missing column comments and extra table options
* test: add show create table test
* test: add show create table test
* chore: timestamp precision
* fix: test
---------
Co-authored-by: Yingwen <realevenyag@gmail.com>
|
2023-04-21 11:37:16 +08:00 |
|