massdosage commented on pull request #1495:
URL: https://github.com/apache/iceberg/pull/1495#issuecomment-698380788


   > That's the plan, but we need the writer code to get in first smile
   
   Ah yes, of course, I'm losing track of the different pull requests ;)
   
   The reason I tried `select named_struct` was I thought that was the only way 
to match the field names up with their values, I didn't realise one could still 
do positional inserts using `values`. Anyway, I tried that and got
   `FAILED: Execution Error, return code 1 from 
org.apache.hadoop.hive.ql.exec.tez.TezTask`
   on the Hive shell, looking in the log I got 
   `2020-09-24T14:19:10,286 ERROR [b4e7cb36-2cbb-42ea-8a22-630b0850c204 
main([])]: exec.Task (TezTask.java:execute(230)) - Failed to execute tez graph.
   java.lang.UnsupportedOperationException: Writing to an Iceberg table with 
Hive is not supported`
   which makes sense. Is there any way to get the exception message to appear 
in the shell, just that one line would be more user friendly than `return code 
1`.
   
   I then set the execution engine to MR and got 
   `java.lang.UnsupportedOperationException: Writing to an Iceberg table with 
Hive is not supported
           at 
org.apache.iceberg.mr.hive.HiveIcebergOutputFormat.checkOutputSpecs(HiveIcebergOutputFormat.java:37)
   `
   in the shell. But yes, this is because I don't also have #1407 merged in so 
that makes sense. If I have some time I'll try again with that. At least the 
above shows some progress and that the expected code paths are being hit.
   
   


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



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

Reply via email to