zuyanton commented on issue #2509:
URL: https://github.com/apache/hudi/issues/2509#issuecomment-772225257


   @satishkotha I added that parameter to my example, now  after writing data 
into s3 , when I run ```spark.sql("describe testTable3").show``` I get 
   ```
   +--------------------+---------+-------+  
   |            col_name|data_type|comment|
   +--------------------+---------+-------+
   ....
   |           timestamp|timestamp|   null|
   ```  
   which is good , however when I run ```spark.sql("select * from  
testTable3").show``` I get exception    
   java.lang.ClassCastException: org.apache.hadoop.io.LongWritable cannot be 
cast to org.apache.hadoop.hive.serde2.io.TimestampWritable
   


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


Reply via email to