You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug] kyuubi-spark-auth cannot retrieve the database information for paimon in the TableTableExtractor class when extracting resource information.
#6483
Open
2 of 4 tasks
hinerdata opened this issue
Jun 19, 2024
· 1 comment
I have searched in the issues and found no similar issues.
Describe the bug
Due to paimon's SparkTable.name() only returning the table name, and not catalog.database.table, it is impossible to extract the database. In the DataSourceV2RelationTableExtractor, the TableTableExtractor is called. The code is as follows: class TableTableExtractor extends TableExtractor { override def apply(spark: SparkSession, v1: AnyRef): Option[Table] = { val tableName = invokeAs[String](v1, "name") lookupExtractor[StringTableExtractor].apply(spark, tableName) } }
Affects Version(s)
master
Kyuubi Server Log Output
No response
Kyuubi Engine Log Output
No response
Kyuubi Server Configurations
No response
Kyuubi Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?
Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
No. I cannot submit a PR at this time.
The text was updated successfully, but these errors were encountered:
Code of Conduct
Search before asking
Describe the bug
Due to paimon's SparkTable.name() only returning the table name, and not catalog.database.table, it is impossible to extract the database. In the DataSourceV2RelationTableExtractor, the TableTableExtractor is called. The code is as follows:
class TableTableExtractor extends TableExtractor { override def apply(spark: SparkSession, v1: AnyRef): Option[Table] = { val tableName = invokeAs[String](v1, "name") lookupExtractor[StringTableExtractor].apply(spark, tableName) } }
Affects Version(s)
master
Kyuubi Server Log Output
No response
Kyuubi Engine Log Output
No response
Kyuubi Server Configurations
No response
Kyuubi Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: