Skip to content

Commit

Permalink
add test for cluster by
Browse files Browse the repository at this point in the history
  • Loading branch information
youngsofun committed Jan 16, 2025
1 parent a6b04e6 commit 43e096c
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,12 @@ create table t(a int) cluster by (a+rand())
statement error 1081.*is not deterministic
create table t(a string) cluster by (a+uuid())

statement ok
create table tt(a tuple(x int, y int), b string, c int) cluster by (b);

statement ok
insert into tt(b,c) values ('1',2);

##################################################
# table option `data_retention_period_in_hours` #
##################################################
Expand Down

0 comments on commit 43e096c

Please sign in to comment.