I use Flink 1.20.1 and an iceberg catalog is set u...
# troubleshooting
j
I use Flink 1.20.1 and an iceberg catalog is set up using a hive metastore backend.
Copy code
CREATE CATALOG demo_ib WITH (
  'type' = 'iceberg',
  'catalog-type' = 'hive',
  'uri' = 'thrift://hive-metastore:9083'
);
I can create an iceberg table (CREATE TABLE ... USING) and describe it without an issue. However I cannot create a view from it. i.e. CREATE VIEW ... AS SELECT ... FROM <iceberg_table> fails with java.lang.IllegalArgumentException: table should be resolved. The select part is not an issue as EXPLAIN SELECT ... FROM <iceberg_table> works. Note I can create a view on a hive catalog. Can you inform me how to fix this issue?
It may be a Flink integration issue? I can create a view using Spark SQL.