From 93a05c02f272ad57c22b235f1fb79419d74fbaa4 Mon Sep 17 00:00:00 2001 From: IHEII Date: Mon, 26 Feb 2024 11:49:41 +0800 Subject: [PATCH] [Test] fix sql (#156) --- test/query/query_hash_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/query/query_hash_test.go b/test/query/query_hash_test.go index d4e3cfc..d266654 100644 --- a/test/query/query_hash_test.go +++ b/test/query/query_hash_test.go @@ -32,7 +32,7 @@ import ( const ( queryHashTableName = "queryHashTable" - queryHashTableCreateStatement = "create table if not exists queryHashTable(`c1` bigint(20) not null, c2 bigint(20) not null, c3 varchar(20) default 'hello', index i1(`c1`, `c3`) local, primary key (`c1`, `c2`)) partition by key(c1) partitions 15;" + queryHashTableCreateStatement = "create table if not exists queryHashTable(`c1` bigint(20) not null, c2 bigint(20) not null, c3 varchar(20) default 'hello', index i1(`c1`, `c3`) local, primary key (`c1`, `c2`)) partition by hash(c1) partitions 15;" ) func prepareHashRecord(recordCount int) {