The GitHub Actions job "Java CI" on 
iceberg.git/detect-view-when-registering-table has failed.
Run started by GitHub user nastra (triggered by nastra).

Head commit for run:
b8da597c10885391bc97eb41e39d8ae5e306bf3c / Eduard Tudenhoefner 
<[email protected]>
Core: Detect if a view already exists when registering a table

This was already working for all catalogs that support views, except for the 
`HiveCatalog`.
All catalogs already had some logic that would perform table/view conflict 
detection when committing metadata in their `doCommit()` methods.
However, the `HiveCatalog` currently does view/table detection one step 
earlier, namely when `doRefresh()` is called in 
https://github.com/apache/iceberg/blob/cbd35799dc70e989528b1c14d640fe91cdafa52d/hive-metastore/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java#L175-L177.
It probably doesn't hurt to override `registerTable()` for view catalgos and 
add early view detection (before metadata is actually committed).

Report URL: https://github.com/apache/iceberg/actions/runs/20854428472

With regards,
GitHub Actions via GitBox

Reply via email to