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 2019/07/16 14:36:35 UTC

[GitHub] [incubator-iceberg] chenjunjiedada opened a new issue #290: Add parameter checks for HadoopTables#create

chenjunjiedada opened a new issue #290: Add parameter checks for HadoopTables#create
URL: https://github.com/apache/incubator-iceberg/issues/290
 
 
   The `HadoopTables#create` doesn't check whether the spec is null which may lead to NullPointerExeception.  For example, a user may use `specForTables` to get partition spec for a table and then pass it to `HadoopTables#create`, it throws NullPointerExeception if the table doesn't have partition column.
   
   IIUC we should support creating the table which has no partition. So what is the default behavior? Shall we use a PartitionSpec with an empty PartitionField list? 
   `PartitionSpec.buildfor(shema).build()`

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org