xushiyan commented on issue #3821:
URL: https://github.com/apache/hudi/issues/3821#issuecomment-946406362


   @rohit-m-99 it depends on your business logic. you can choose any field(s) 
that make sense for you (year/month/day, country, city, timezone, etc anything 
similar to those that makes sense) or simply use `hash(run_id)%10` to partition 
by the hash value's mod, which guarantees the number of partitions.
   
   Hope this helps. And closing this now. if you run into further issues, feel 
free to follow up here.


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