Ruihang Xia
|
4f988b5ba9
|
feat: remove default inverted index for physical table (#5583)
* feat: remove default inverted index for physical table
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2025-02-22 06:48:05 +00:00 |
|
Ruihang Xia
|
8026b1d72c
|
feat!: unify all index creation grammars (#5486)
* column options
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* handle table constrain
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update test assertions
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* change inverted index table constrain usage
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* don't create inverted index for pk on alter table
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* remove remaining pk-as-inverted-index
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* more inverted index magic
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness result again
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* fix clippy
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* Update src/sql/src/statements.rs
Co-authored-by: jeremyhi <jiachun_feng@proton.me>
* drop support for index def in table constrain
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: jeremyhi <jiachun_feng@proton.me>
|
2025-02-12 06:54:09 +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 |
|
Ruihang Xia
|
bf21527f18
|
fix: set is_time_index properly on updating physical table's schema (#3770)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
|
2024-04-22 12:37:25 +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
|
2b2fd80bf4
|
feat: return new added columns in region server's extension response (#3533)
* feat: adapt the new proto response
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update interfaces
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* write columns to extension
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* use physical column's schema
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* sort logical columns by name
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* format code
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* return physical table's column
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* Update src/common/meta/src/datanode_manager.rs
Co-authored-by: JeremyHi <jiachun_feng@proton.me>
* implement sort column logic
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* proxy create table procedure to create logical table
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* add unit test for sort_columns
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
* update sqlness cases
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-03-23 09:31:16 +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 |
|