discord9
53752e4f6c
fix: alter table update table column default ( #6155 )
...
* fix: alter table update table column default
* fix: fuzz test also cast default value
* chore: more testcase
* test: non-zero value
* refactor: per review
* tests: unexpected alter result(WIP on fix)
* ub
* ub more
* test: update sqlness
2025-05-27 09:42:27 +00:00
discord9
6ab0f0cc5c
fix: alter table modify type should also modify default value ( #6049 )
...
* fix: select after alter
* fix: insert a proper row&catch a bug
* fix: alter table modify type modify default value type too
* refactor: per review
* chore: per review
* refactor: per review
* refactor: per review
2025-05-09 03:40:59 +00:00
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
981d51785b
fix: throw errors instead of ignoring ( #5792 )
...
* fix: throw errors instead of ignoring
* fix: fix unit tests
* refactor: remove schema version check
* fix: fix clippy
* chore: remove unused error
* refactor: remove schema version check
* feat: handle mutliple results
* feat: introduce consistency guard
* fix: release consistency guard on datanode operation completion
* test: add tests
* chore: remove schema version
* refactor: rename
* test: add more tests
* chore: print all error
* tests: query table after alteration
* log ignored request
* refine fuzz test
* chore: fix clippy and log mailbox message
* chore: close prepared statement after execution
* chore: add comment
* chore: remove log
* chore: rename to `ConsistencyPoison`
* chore: remove unused error
* fix: fix unit tests
* chore: apply suggestions from CR
2025-04-07 13:51:00 +00:00
jeremyhi
02af9dd21a
refactor!: remove datetime type ( #5506 )
...
* feat remove datetime type
* chore: fix unit test
* chore: add column test
* refactor: move create and alter validation to one place
* chore: minor refactor ut
* refactor: rename expr_factory to expr_helper
* chore: remove unnecessary args
2025-02-13 08:01:16 +00:00
yihong
adb5c3743c
fix: flush table panic when table has interval column close #3235 ( #5422 )
...
* fix: flash table panic when table has interval column close #3235
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
* Revert "fix: flash table panic when table has interval column close #3235 "
This reverts commit ffc63efda39cd6ef525313b60ede061c5ec24b12.
* fix: create table do not support interval type for now close #3235
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
* fix: sqlness
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
* fix: address comments
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
* fix: address comments fix conflict and more tests
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
* fix: address final comments drop useless sqlness tests
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
---------
Signed-off-by: yihong0618 <zouzou0208@gmail.com >
2025-01-25 08:09:55 +00:00
Niwaka
358d5e1d63
fix: support alter table ~ add ~ custom_type ( #5165 )
2024-12-15 09:05:29 +00:00
discord9
175fddb3b5
fix: alter table add column id alloc mismatch ( #4972 )
...
* fix: alter table add column id alloc mismatch
* chore: remove debug code
* chore: typos
* chore: error variant
* chore: more checks for invariant
* refactor: better check&explain
* fix: exist column metadata correct
* chore: remove unused error variant
2024-11-13 07:02:35 +00:00
Ruihang Xia
74565151e9
fix: update pk_cache in compat reader ( #3576 )
...
* fix: update pk_cache in compat reader
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* add sqlness case
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* update document
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* add more sqlness case
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* avoid mysterious bug
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
2024-03-26 08:31:00 +00:00
dennis zhuang
db89235474
feat: only allow timestamp type as time index ( #2281 )
...
* feat: only allow timestamp data type as time index
* test: update sqltest cases, todo: need some fixes
* fix: sqlness tests
* fix: forgot adding back cte test
* chore: style
2023-09-12 07:57:15 -05:00
fys
86adac1532
chore: reject table creation when partitions exceeds peer number ( #1654 )
...
* chore: table creation is rejected, when partition_num exceeds peer_num
* chore: modify no_active_datanode error msg
* fix: ut
* fix sqlness test and add limit for select peer in region_failover
* upgrade greptime-proto
* self cr
* fix: cargo sqlness
* chore: add table info in select ctx for failover
* fix sqlness
2023-06-01 09:05:17 +00:00
Ruihang Xia
b9db2cfd83
fix: support restart sqlness in distributed mode ( #1443 )
...
* fix: support restart sqlness in distributed mode
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* move alter_table case to common dir
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* is_standalone flag
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
* Update tests/runner/src/env.rs
Co-authored-by: LFC <bayinamine@gmail.com >
---------
Signed-off-by: Ruihang Xia <waynestxia@gmail.com >
Co-authored-by: LFC <bayinamine@gmail.com >
2023-04-24 19:36:12 +08:00