yihua commented on PR #10615:
URL: https://github.com/apache/hudi/pull/10615#issuecomment-2052277245

   > I like that this has the benefit of not breaking tables with their 
existing hoodie.table.recordkey.fields, but I am curious about any other 
approaches you thought about. From you test code, it looks like we can't use 
`partitioned by (dt:int,idk:string)` when creating the table. I don't think 
that should block this pr from landing, but in the documentation for SQL: 
https://hudi.apache.org/docs/sql_ddl#create-partitioned-table I think we should 
add an example
   
   Good point.  I tried `partitioned by` statement but it did not work either, 
due to the same the write config of the partition fields.  But you're right 
that adding a new table config indicating the partition field types should 
solve the problem fundamentally.  We should update the SQL docs on any gaps 
here.
   
   > 
   > Also, I think think this change will help us to fix partition pruning 
which currently does not work with timestamp keygen: 
https://issues.apache.org/jira/browse/HUDI-6614
   
   Right.
   
   
   


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