rahil-c opened a new pull request, #13608:
URL: https://github.com/apache/hudi/pull/13608
### Change Logs
When testing Hudi integration with Apache Polaris catalog noticed that this
original change caused `DESCRIBE TABLE` command to error out.
This is due to invoking older spark session `DescribeTableCommand`(for newer
external catalogs we should not be doing this as it then causes the spark
session catalog to be invoked and check for the existence of the namespace in
the spark v1 session catalog which will naturally not exist as we are
delegating to polaris catalog)
```
[SCHEMA_NOT_FOUND] The schema `hudi_d898a0070cc744758bd4e3f54b5d3c01` cannot
be found. Verify the spelling and correctness of the schema and catalog.
If you did not qualify the name with a catalog, verify the current_schema()
output, or qualify the name with the correct catalog.
To tolerate the error on drop use DROP SCHEMA IF EXISTS.
org.apache.spark.sql.catalyst.analysis.NoSuchDatabaseException:
[SCHEMA_NOT_FOUND] The schema `hudi_d898a0070cc744758bd4e3f54b5d3c01` cannot be
found. Verify the spelling and correctness of the schema and catalog.
If you did not qualify the name with a catalog, verify the current_schema()
output, or qualify the name with the correct catalog.
To tolerate the error on drop use DROP SCHEMA IF EXISTS.
at
org.apache.spark.sql.catalyst.catalog.SessionCatalog.requireDbExists(SessionCatalog.scala:252)
at
org.apache.spark.sql.catalyst.catalog.SessionCatalog.getTableRawMetadata(SessionCatalog.scala:546)
at
org.apache.spark.sql.execution.command.DescribeTableCommand.run(tables.scala:634)
at
org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:75)
```
### Impact
* No impact as the original change was done to show additional properties.
@yihua is following up on a proper fix to show these additional properties.
### Documentation Update
No doc update needed
### Contributor's checklist
- [ ] Read through [contributor's
guide](https://hudi.apache.org/contribute/how-to-contribute)
- [ ] Change Logs and Impact were stated clearly
- [ ] Adequate tests were added if applicable
- [ ] CI passed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]