Yingwen
|
148d96fc38
|
fix: ensures logical and physical region have the same timestamp unit (#6041)
* fix: check time unit of logical region
* test: enlarge ttl for alter test to avoid data expired during test
* chore: fix unused
|
2025-05-08 03:40:21 +00:00 |
|
Weny Xu
|
385b1bcbb0
|
feat(metric-engine): introduce index options from metric engine (#5374)
* feat(metric-engine): introduce index options from metric engine
* chore: fmt toml
* test: add sqlness test
* fix: ignore internal columns
* chore: remove unused dep
* chore: update sqlness result
* chore: ignore metric engine internal columns
* chore: refine code styling
* test: update sqlness test
* refactor: refactor `create_table_constraints`
* test: show index
* chore: apply suggestions from CR
* fix: set inverted index explicitly
* chore: apply suggestions from CR
|
2025-01-20 08:48:00 +00:00 |
|
Ruihang Xia
|
ff40d512bd
|
fix: support append-only physical table (#4716)
* fix: support append-only physical table
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* Update src/metric-engine/src/engine/create.rs
Co-authored-by: jeremyhi <jiachun_feng@proton.me>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: Weny Xu <wenymedia@gmail.com>
Co-authored-by: jeremyhi <jiachun_feng@proton.me>
|
2024-09-10 12:23:23 +00:00 |
|
Ruihang Xia
|
df01ac05a1
|
feat: add validate method to CreateExpr (#3772)
* feat: add validate method to CreateExpr
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* add sqlness reproducer
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* verify region create request
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix existing test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* add tailing empty line
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* add more validation
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix typo
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* disable metric table fuzz
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* minor refactor
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2024-04-24 07:29:10 +00:00 |
|
Weny Xu
|
d12379106e
|
feat(drop_table): support to rollback table metadata (#3692)
* feat: support to rollback table metadata
* refactor: store table route value instead of physical table route
* feat(drop_table): support to rollback table metadata
* test: add rollback tests for drop table
* fix: do not set region to readonly
* test: add sqlness tests
* feat: implement TombstoneManager
* test: add tests for TombstoneManager
* refactor: using TombstoneManager
* chore: remove unused code
* fix: fix typo
* refactor: using `on_restore_metadata`
* refactor: add `executor` to `DropTableProcedure`
* refactor: simplify the `TombstoneManager`
* refactor: refactor `Key`
* refactor: carry more info
* feat: add `destroy_table_metadata`
* refactor: remove redundant table_route_value
* feat: ensure the key is empty
* feat: introcude `table_metadata_keys`
* chore: carry more info
* chore: remove clone
* chore: apply suggestions from CR
* feat: delete metadata tombstone
|
2024-04-16 09:22:41 +00:00 |
|
Ruihang Xia
|
b9890ab870
|
fix: construct correct pk list with pre-existing pk (#3614)
* fix: construct correct pk list with pre-existing pk
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update UT
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2024-04-07 08:11:52 +00:00 |
|
JeremyHi
|
58c7858cd4
|
feat: update physical table schema on alter logical tables (#3585)
* feat: update physical table schema on alter
* feat: alter logical table in sql path
* feat: invalidate cache step1
* feat: invalidate cache step2
* feat: invalidate cache step3
* feat: invalidate cache step4
* fix: failed ut
* fix: standalone cache invalidator
* feat: log the count of already finished
* feat: re-invalidate cache
* chore: by comment
* chore: Update src/common/meta/src/ddl/create_logical_tables.rs
---------
Co-authored-by: Yingwen <realevenyag@gmail.com>
|
2024-03-26 14:29:53 +00:00 |
|
Ruihang Xia
|
992c7ec71b
|
feat: update physical table's schema on creating logical table (#3570)
* feat: update physical table's schema on creating logical table
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* remove debug code
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness cases
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* tweak ut const
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness cases
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* invalid physical table cache
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2024-03-25 03:19:30 +00:00 |
|
Ruihang Xia
|
09b3c7029b
|
feat: handle drop request for metric table (#3136)
* handle drop request
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* adjust procedure manager
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* add create table sqlness test
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* insert/query metric table
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* address CR comments
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* Update src/common/meta/src/kv_backend.rs
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* reuse region option for metadata region
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* tweak variable name
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
|
2024-01-11 09:38:43 +00:00 |
|