Skip to content

Commit

Permalink
add new privilege type forward test
Browse files Browse the repository at this point in the history
  • Loading branch information
TCeason committed Feb 14, 2025
1 parent 1384889 commit 81b8d88
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
7 changes: 2 additions & 5 deletions tests/compat_fuse/compat-logictest/rbac/fuse_compat_write
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,5 @@ create role 'role2';
statement ok
GRANT OWNERSHIP on udf a to role 'role1';

#statement ok
#create warehouse w1 with warehouse_size=1;
#
#statement ok
#GRANT OWNERSHIP on warehouse w1 to role 'role1';
statement ok
GRANT create warehouse on *.* to role 'role1';
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SHOW CATALOGS;
default

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

statement ok
DROP CATALOG IF EXISTS ctl;
Expand Down
2 changes: 1 addition & 1 deletion tests/sqllogictests/suites/tpch_iceberg/prune.test
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ TYPE=ICEBERG
CONNECTION=(
TYPE='rest'
ADDRESS='http://127.0.0.1:8181'
WAREHOUSE='s3://iceberg-tpch'
`WAREHOUSE`='s3://iceberg-tpch'
"s3.region"='us-east-1'
"s3.endpoint"='http://127.0.0.1:9000'
);
Expand Down
2 changes: 1 addition & 1 deletion tests/sqllogictests/suites/tpch_iceberg/queries.test
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ TYPE=ICEBERG
CONNECTION=(
TYPE='rest'
ADDRESS='http://127.0.0.1:8181'
WAREHOUSE='s3://iceberg-tpch'
`WAREHOUSE`='s3://iceberg-tpch'
"s3.region"='us-east-1'
"s3.endpoint"='http://127.0.0.1:9000'
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ TYPE=ICEBERG
CONNECTION=(
TYPE='rest'
ADDRESS='http://127.0.0.1:8181'
WAREHOUSE='s3://icebergdata/demo'
`WAREHOUSE`='s3://icebergdata/demo'
);
EOF

Expand Down

0 comments on commit 81b8d88

Please sign in to comment.