[KYUUBI #5447][FOLLOWUP] Remove unrelated debug prints in TableIdentifierTableExtractor
### _Why are the changes needed?_ To close #5447 Remove unrelated debug change in tableExtractor ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.readthedocs.io/en/master/contributing/code/testing.html#running-tests) locally before make a pull request ### _Was this patch authored or co-authored using generative AI tooling?_ No Closes #5494 from AngersZhuuuu/KYUUBI-5447-FOLLOWUP. Closes #5447 90a0bcd91 [Bowen Liang] Update extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/serde/tableExtractors.scala 85941e26c [Angerszhuuuu] [KYUUBI #5447][AUTHZ] Remove unrelated debug change in tableExtractor Lead-authored-by: Angerszhuuuu <angers.zhu@gmail.com> Co-authored-by: Bowen Liang <bowenliang@apache.org> Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
parent
abaa3698cb
commit
03d6223a41
@ -80,9 +80,7 @@ class TableIdentifierTableExtractor extends TableExtractor {
|
||||
val catalogTable = spark.sessionState.catalog.getTableMetadata(identifier)
|
||||
Option(catalogTable.owner).filter(_.nonEmpty)
|
||||
} catch {
|
||||
case e: Exception =>
|
||||
e.printStackTrace()
|
||||
None
|
||||
case _: Exception => None
|
||||
}
|
||||
Some(Table(None, identifier.database, identifier.table, owner))
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user