You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2021/01/22 10:03:54 UTC

[GitHub] [iceberg] openinx commented on issue #2133: Flink: it will throw exception when executing 'CREATE TABLE IF NOT EXITS'

openinx commented on issue #2133:
URL: https://github.com/apache/iceberg/issues/2133#issuecomment-765291885


   @zhangjun0x01 ,  we flink 1.11.x does not support `CREATE TABLE IF NOT EXISTS` (see: [here](https://github.com/apache/flink/blob/release-1.11/flink-table/flink-sql-parser/src/main/codegen/includes/parserImpls.ftl#L723) ),  but flink 1.12.x starts to support it ( see:  [here](https://github.com/apache/flink/blob/release-1.12/flink-table/flink-sql-parser/src/main/codegen/includes/parserImpls.ftl#L802) ).  After upgraded the flink from 1.11.0 to 1.12.x,  the `CREATE TABLE IF NOT EXISTS` is still not working  because we've ignored the `ignoreIfExists` in [FlinkCatalog#createTable](https://github.com/apache/iceberg/pull/2135/files#diff-0ae3022739b9b55183c9aa972fadb7cdb9cb3956468f14559b3c57c5900f3953R383).  It's a bug in flink iceberg catalog intergration work so I'd prefer to fix this before the next release.  
   
   I've created a PR to handle this https://github.com/apache/iceberg/pull/2135.


----------------------------------------------------------------
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.

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