Skip to content

Commit 81b8d88

Browse files
committed
add new privilege type forward test
1 parent 1384889 commit 81b8d88

File tree

5 files changed

+6
-9
lines changed

5 files changed

+6
-9
lines changed

tests/compat_fuse/compat-logictest/rbac/fuse_compat_write

+2-5
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,5 @@ create role 'role2';
1919
statement ok
2020
GRANT OWNERSHIP on udf a to role 'role1';
2121

22-
#statement ok
23-
#create warehouse w1 with warehouse_size=1;
24-
#
25-
#statement ok
26-
#GRANT OWNERSHIP on warehouse w1 to role 'role1';
22+
statement ok
23+
GRANT create warehouse on *.* to role 'role1';

tests/sqllogictests/suites/base/05_ddl/05_0029_ddl_create_catalog.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SHOW CATALOGS;
1010
default
1111

1212
statement error 1001
13-
CREATE CATALOG ctl TYPE=ICEBERG CONNECTION=(TYPE='REST' ADDRESS='http://127.0.0.1:1000' WAREHOUSE='default' );
13+
CREATE CATALOG ctl TYPE=ICEBERG CONNECTION=(TYPE='REST' ADDRESS='http://127.0.0.1:1000' `WAREHOUSE`='default' );
1414

1515
statement ok
1616
DROP CATALOG IF EXISTS ctl;

tests/sqllogictests/suites/tpch_iceberg/prune.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ TYPE=ICEBERG
77
CONNECTION=(
88
TYPE='rest'
99
ADDRESS='http://127.0.0.1:8181'
10-
WAREHOUSE='s3://iceberg-tpch'
10+
`WAREHOUSE`='s3://iceberg-tpch'
1111
"s3.region"='us-east-1'
1212
"s3.endpoint"='http://127.0.0.1:9000'
1313
);

tests/sqllogictests/suites/tpch_iceberg/queries.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ TYPE=ICEBERG
77
CONNECTION=(
88
TYPE='rest'
99
ADDRESS='http://127.0.0.1:8181'
10-
WAREHOUSE='s3://iceberg-tpch'
10+
`WAREHOUSE`='s3://iceberg-tpch'
1111
"s3.region"='us-east-1'
1212
"s3.endpoint"='http://127.0.0.1:9000'
1313
);

tests/suites/3_stateful_iceberg/00_rest/00_0000_create_and_show.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ TYPE=ICEBERG
1212
CONNECTION=(
1313
TYPE='rest'
1414
ADDRESS='http://127.0.0.1:8181'
15-
WAREHOUSE='s3://icebergdata/demo'
15+
`WAREHOUSE`='s3://icebergdata/demo'
1616
);
1717
EOF
1818

0 commit comments

Comments
 (0)