stuhood commented on issue #21992:
URL: https://github.com/apache/datafusion/issues/21992#issuecomment-4452796089

   In my experience, range partitioning is usually represented with only the 
partitioning points, which addresses the infinite end cap issue, and guarantees 
that everything is covered. Each point is exclusive for the range to the left 
side of the point and inclusive for the range to the right side of the point. 
So your example would be more like:
   
   To create three ranges (infinitely small to `2021-01-01`, between 
`2021-01-01` and `2022-12-32`, and `2022-12-32` to infinitely large)
   ```
   `[date]`: [
     [2021-01-01]
     [2022-12-32], 
     ...
     ]
   ```
   
   And the date + city example would be:
   ```
   `[date, city]`: [
     [2021-01-01, Allston],
     [2021-01-01, Boston],
     [2022-12-32, Allston],
     [2022-12-32, NYC],
     ...
     ]
   ```
   (or something).


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to