Vinish Reddy created HUDI-9216:
----------------------------------
Summary: 1.x spark reader enforces database from tableConfig
instead of defaulting to spark.catalog.currentDatabase as fallback
Key: HUDI-9216
URL: https://issues.apache.org/jira/browse/HUDI-9216
Project: Apache Hudi
Issue Type: Bug
Reporter: Vinish Reddy
Assignee: Vinish Reddy
Hudi as a table format doesn't enforce each table needs to be registered to one
catalog. A user can take a hudi basePath, register it their own catalog with
the database name of their choice and do spark SQL queries on it. 1.x spark
reader tries to return the database as "default" instead of the database found
in the sparkSession causing validation failures.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)