Skip to content

Commit

Permalink
Fix clickhouse tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Feb 23, 2023
1 parent 1048e26 commit 4dbbc10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ String
t2
Table Create Table
String String
t2 CREATE TABLE `t2` (\n `a` INT\n) ENGINE=FUSE COMPRESSION=\'zstd\' STORAGE_FORMAT=\'parquet\'
t2 CREATE TABLE `t2` (\n `a` INT\n) ENGINE=FUSE
Table Create Table
String String
t2 CREATE TABLE `t2` (\n `a` INT\n) ENGINE=FUSE
Field Type Null Default Extra
String String String String String
a INT NO 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ curl -s -u root: -XPOST "http://localhost:${QUERY_CLICKHOUSE_HTTP_HANDLER_PORT}/
curl -s -u root: -XPOST "http://localhost:${QUERY_CLICKHOUSE_HTTP_HANDLER_PORT}/?database=db2" -d 'create table t2(a int)'
curl -s -u root: -XPOST "http://localhost:${QUERY_CLICKHOUSE_HTTP_HANDLER_PORT}/?database=db2" -d "show TABLES LIKE 't%' format TabSeparatedWithNamesAndTypes"
curl -s -u root: -XPOST "http://localhost:${QUERY_CLICKHOUSE_HTTP_HANDLER_PORT}/?database=db2" -d 'show create table t2 format TabSeparatedWithNamesAndTypes'
curl -s -u root: -XPOST "http://localhost:${QUERY_CLICKHOUSE_HTTP_HANDLER_PORT}/?database=db2" -d 'set hide_options_in_show_create_table=0'
curl -s -u root: -XPOST "http://localhost:${QUERY_CLICKHOUSE_HTTP_HANDLER_PORT}/?database=db2" -d 'show create table t2 format TabSeparatedWithNamesAndTypes'
curl -s -u root: -XPOST "http://localhost:${QUERY_CLICKHOUSE_HTTP_HANDLER_PORT}/?database=db2" -d 'desc t2 format TabSeparatedWithNamesAndTypes'
curl -s -u root: -XPOST "http://localhost:${QUERY_CLICKHOUSE_HTTP_HANDLER_PORT}/?database=db2" -d 'insert into table t2 values(1)'
curl -s -u root: -XPOST "http://localhost:${QUERY_CLICKHOUSE_HTTP_HANDLER_PORT}/?" -d 'select * from db2.t2'
Expand Down

0 comments on commit 4dbbc10

Please sign in to comment.