2018yinjian commented on issue #6384: URL: https://github.com/apache/kyuubi/issues/6384#issuecomment-2105681078
private def getV2TableName(plan: NamedRelation): String = { plan match { case relation: DataSourceV2ScanRelation => val catalog = relation.relation.catalog.map(_.name()).getOrElse(LineageConf.DEFAULT_CATALOG) val database = relation.relation.identifier.get.namespace().mkString(".") val table = relation.relation.identifier.get.name() s"$catalog.$database.$table" case relation: DataSourceV2Relation if relation.identifier.isDefined => val catalog = relation.catalog.map(_.name()).getOrElse(LineageConf.DEFAULT_CATALOG) val database = relation.identifier.get.namespace().mkString(".") val table = relation.identifier.get.name() s"$catalog.$database.$table" case _ => plan.name } } 这样修改问题依旧存在 -- 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: notifications-unsubscr...@kyuubi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org For additional commands, e-mail: notifications-h...@kyuubi.apache.org