Package dev.frostlake.executor
Class SqlAccessControlError
java.lang.Object
dev.frostlake.executor.SqlAccessControlError
How Snowflake lays out an access-control refusal:
"SQL access control error:", a
newline, then the detail — the same two-line layout SqlCompilationError documents for
compilation errors. Live-verified on a real account: dropping an INFORMATION_SCHEMA view (under
DROP VIEW or DROP TABLE alike — the object is found before any kind check) answers
SQL access control error:\nInsufficient privileges to operate on view 'TABLES'..-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringinsufficientPrivileges(String objectKind, String objectName) The refusal for an operation the session may not perform on an object it can see.
-
Field Details
-
PREFIX
The prefix, without the separator that follows it.- See Also:
-
-
Method Details
-
insufficientPrivileges
The refusal for an operation the session may not perform on an object it can see.
-