pengzhiwei2018 edited a comment on pull request #2903:
URL: https://github.com/apache/hudi/pull/2903#issuecomment-889762744


   > This patch needs to be redone a bit. Since w/ sql dml, create relation 
will be called upfront, the empty table check has to be moved to sql dml layer. 
I will sync up with @pengzhiwei2018 on how to go about this.
   
   Why should we throw an exception for query empty table? I think return an 
empty list of rows is more reasonable. When user create table and query the 
table, it is not friendly to throws an exception. Other data format in spark, 
like parquet, delta, query empty table also return empty rows.


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


Reply via email to