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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to