@@ -63,11 +63,11 @@ GRANT DROP ON EXTERNAL CONNECTION "drop-privileged" TO testuser;
63
63
64
64
# Verify that the privileges exist.
65
65
query-sql
66
- SELECT * FROM system.privileges
66
+ SELECT username, path, privileges FROM system.privileges order by user_id
67
67
----
68
- root /externalconn/drop-privileged {ALL} {} 1
69
- root /externalconn/drop-privileged-dup {ALL} {} 1
70
- testuser /externalconn/drop-privileged {DROP} {} 100
68
+ root /externalconn/drop-privileged {ALL}
69
+ root /externalconn/drop-privileged-dup {ALL}
70
+ testuser /externalconn/drop-privileged {DROP}
71
71
72
72
exec-sql user=testuser
73
73
DROP EXTERNAL CONNECTION "drop-privileged"
@@ -131,11 +131,11 @@ CREATE EXTERNAL CONNECTION 'not-root' AS 'userfile:///bar'
131
131
132
132
# Verify that the privileges exist.
133
133
query-sql
134
- SELECT * FROM system.privileges
134
+ SELECT username, path, privileges FROM system.privileges order by user_id
135
135
----
136
- root /externalconn/root {ALL} {} 1
137
- testuser /externalconn/not-root {ALL} {} 101
138
- testuser /global/ {EXTERNALCONNECTION} {} 101
136
+ root /externalconn/root {ALL}
137
+ testuser /externalconn/not-root {ALL}
138
+ testuser /global/ {EXTERNALCONNECTION}
139
139
140
140
exec-sql user=testuser
141
141
BACKUP TABLE foo INTO 'external://not-root'
0 commit comments