zh-jn opened a new issue, #15318: URL: https://github.com/apache/iceberg/issues/15318
### Query engine Flink ### Question Does iceberg support the Flink materialized tables: https://nightlies.apache.org/flink/flink-docs-release-1.20/docs/dev/table/materialized-table/overview/. I am creating a materialized table in iceberg catalog, and I got an exception: pyflink.util.exceptions.TableException: org.apache.flink.table.api.TableException: Could not execute CreateTable in path `iceberg`.`db_click_stream`.`agg_user_page` at org.apache.flink.table.catalog.CatalogManager.execute(CatalogManager.java:1367) at org.apache.flink.table.catalog.CatalogManager.createTable(CatalogManager.java:997) at org.apache.flink.table.operations.materializedtable.CreateMaterializedTableOperation.execute(CreateMaterializedTableOperation.java:52) at org.apache.flink.table.api.internal.TableEnvironmentImpl.executeInternal(TableEnvironmentImpl.java:1102) at org.apache.flink.table.api.internal.TableEnvironmentImpl.executeSql(TableEnvironmentImpl.java:735) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.flink.api.python.shaded.py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244) at org.apache.flink.api.python.shaded.py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374) at org.apache.flink.api.python.shaded.py4j.Gateway.invoke(Gateway.java:282) at org.apache.flink.api.python.shaded.py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132) at org.apache.flink.api.python.shaded.py4j.commands.CallCommand.execute(CallCommand.java:79) at org.apache.flink.api.python.shaded.py4j.GatewayConnection.run(GatewayConnection.java:238) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.lang.IllegalArgumentException: table should be resolved at org.apache.iceberg.relocated.com.google.common.base.Preconditions.checkArgument(Preconditions.java:141) at org.apache.iceberg.flink.FlinkCatalog.createTable(FlinkCatalog.java:429) at org.apache.flink.table.catalog.CatalogManager.lambda$createTable$18(CatalogManager.java:1008) at org.apache.flink.table.catalog.CatalogManager.execute(CatalogManager.java:1361) ... 15 more From the code, it seems iceberg only accept the ResolvedCatalogTable, it not recognize the ResolvedCatalogMaterializedTable. Is this because my usage is inappropriate, or because Iceberg has not yet supported this feature? -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
