You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "mumuhhh (via GitHub)" <gi...@apache.org> on 2023/06/21 07:27:25 UTC
[GitHub] [iceberg] mumuhhh commented on pull request #7866: Flink: fix TableSink anonymous object
mumuhhh commented on PR #7866:
URL: https://github.com/apache/iceberg/pull/7866#issuecomment-1600322459
> @mumuhhh could you add a test please that reproduces this issue?
```
Table table = tEnv.from(TableDescriptor.forConnector("datagen")
.schema(Schema.newBuilder()
.column("f0", DataTypes.STRING())
.build())
.build());
TableDescriptor descriptor = TableDescriptor.forConnector("iceberg")
.schema(Schema.newBuilder()
.column("f0", DataTypes.STRING())
.build())
.option("catalog-name", "hadoop_test")
.option("catalog-type", "hadoop")
.option("catalog-database", "test_db")
.option("catalog-table", "test")
.option("warehouse", "/tmp/iceberg/warehouse/")
.build()
table.insertInto(descriptor)
```
--
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: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org