You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "leesf (Jira)" <ji...@apache.org> on 2022/06/24 09:07:00 UTC

[jira] [Updated] (HUDI-4315) Do not throw exception in BaseSpark3Adapter#toTableIdentifier

     [ https://issues.apache.org/jira/browse/HUDI-4315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

leesf updated HUDI-4315:
------------------------
    Summary: Do not throw exception in BaseSpark3Adapter#toTableIdentifier   (was: Do not throw exception when using BaseSpark3Adapter#toTableIdentifier )

> Do not throw exception in BaseSpark3Adapter#toTableIdentifier 
> --------------------------------------------------------------
>
>                 Key: HUDI-4315
>                 URL: https://issues.apache.org/jira/browse/HUDI-4315
>             Project: Apache Hudi
>          Issue Type: Improvement
>            Reporter: leesf
>            Assignee: leesf
>            Priority: Major
>
> When using other CatalogPlugin with name leesf along with HoodieCatalog, the sql for the following
> `insert into leesf.db.table select id, name from hudi_db.hudi_table`, the BaseSpark3Adapter#toTableIdentifier method will throw the following exception 
>  
> ```
> org.apache.spark.sql.AnalysisException: leesf.db.table is not a valid TableIdentifier as it has more than 2 name parts.
>     at org.apache.spark.sql.errors.QueryCompilationErrors$.identifierHavingMoreThanTwoNamePartsError(QueryCompilationErrors.scala:1394)
> ```



--
This message was sent by Atlassian Jira
(v8.20.7#820007)