Support partition_on on timestamp columns
Describe your feature request
Support partition_on on timestamp columns https://github.com/sfu-db/connector-x/issues/305
Hi! Is anyone working on this? I'd also be interested in this feature, how could I help?
Hi @mvanaltvorst , thanks for the reply. Currently the logic of partitioning the numeric columns is here. Basically there are three steps:
- get min and max value for partition column get_col_range
- compute the intervals for query, this part of the logic can be found here
- generate partitioned queries get_part_query
Basically we need to be able to support the three steps for timestamp columns too. Please feel free to open a PR for this if you are interested!
For this issue to be considered solved, should this be implemented in all databases?
Hi @surister , yes I think that would be the ideal case.