gene-bordegaray commented on code in PR #23189:
URL: https://github.com/apache/datafusion/pull/23189#discussion_r3544196263


##########
datafusion/datasource/src/file_scan_config/mod.rs:
##########


Review Comment:
   Yes. We would have to take the column parttion values, sort them, and 
represent them as a range partitioning where each partition only contains the 
intended values.
   
   Example:
   ```text
   partition 1: col = A
   partition 2: col = Z
   partition 3: col = M
   ```
   
   Represented like:
   ```text
   Range Partitioning:
   split points: [A, M, Z]
   sort order: Asc
   ```
   
   Thus:
   ```text
   partition 1: col <= B
   parttion 2: A < col <= M
   partition 3: M <= col (which contains Z)
   ```



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