WaterKnight1998 edited a comment on issue #1777:
URL: https://github.com/apache/hudi/issues/1777#issuecomment-652446917


   > @WaterKnight1998 It looks like this field `ts` is not there in the record. 
Could you print the table schema ? Also which version of Hudi are you using ?
   
   @bhasudha here you have. I don't understand pretty well how to store a 
normal dataframe in Hudi. I don't understand the config of hudi, like recordkey 
and precombine field.
   ```
   root
    |-- date: date (nullable = true)
    |-- store: integer (nullable = true)
    |-- item: integer (nullable = true)
    |-- sales: float (nullable = true)
    |-- sales_predicted: float (nullable = true)
    |-- sales_predicted_upper: float (nullable = true)
    |-- sales_predicted_lower: float (nullable = true)
    |-- training_date: date (nullable = false)
   ```
   
   My data does not have a primary key. However, i could combine 
date,store,item to get one!


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to