presto
presto copied to clipboard
Throw table offline exception when object not readable
Description
We need to throw table offline exception when the table parameters contain object not readable parameter set.
Motivation and Context
Currently for unpartitioned tables, we are not throwing table offline exception even when object_not_readable key is set in table parameters. Unlike how we throw exception when this key is present for partition parameters.
Impact
None
Test Plan
exisiting tests
Contributor checklist
- [x] Please make sure your submission complies with our development, formatting, commit message, and attribution guidelines.
- [x] PR description addresses the issue accurately and concisely. If the change is non-trivial, a GitHub Issue is referenced.
- [x] Documented new properties (with its default value), SQL syntax, functions, or other functionality.
- [x] If release notes are required, they follow the release notes guidelines.
- [ ] Adequate tests were added if applicable.
- [x] CI passed.
Release Notes
== NO RELEASE NOTE ==