Disallow querying delta lake properties table#10447
Conversation
527b7e4 to
abab02c
Compare
There was a problem hiding this comment.
nit: would be good to mention table name in error message
There was a problem hiding this comment.
I modified the exception message to its original format to be in sync with the other places where the exception is being thrown.
There was a problem hiding this comment.
I agree with @phd3 we should provide table name in the message.
There was a problem hiding this comment.
Good point. I'll make a separate commit then to update everywhere the exception message.
There was a problem hiding this comment.
agreed, the io.trino.plugin.hive.HiveMetadata#getTableHandle can (and should) be updated in a separate commit.
plugin/trino-hive/src/main/java/io/trino/plugin/hive/HiveMetadata.java
Outdated
Show resolved
Hide resolved
f93877c to
0b757ba
Compare
plugin/trino-hive/src/main/java/io/trino/plugin/hive/PropertiesSystemTableProvider.java
Outdated
Show resolved
Hide resolved
349c5a0 to
55da414
Compare
There was a problem hiding this comment.
I agree with @phd3 we should provide table name in the message.
55da414 to
9c252f8
Compare
9c252f8 to
acb1779
Compare
|
Merged, thanks! |
Extracted relevant commits for disallowing the querying of the
$propertiestable on the delta lake tables in hive from the PR #10441