askoa commented on code in PR #3103:
URL: https://github.com/apache/arrow-rs/pull/3103#discussion_r1021425611
##########
parquet/src/file/metadata.rs:
##########
@@ -940,6 +974,48 @@ impl OffsetIndexBuilder {
}
}
+/// Metadata for sorting order for columns
+#[derive(Debug, Clone, PartialEq, Eq)]
+pub struct SortingColumnMetaData {
+ /// The column index (in this row group) *
+ pub column_index: i32,
+ /// If true, indicates this column is sorted in descending order. *
+ pub descending: bool,
+ /// If true, nulls will come before non-null values, otherwise,
+ /// nulls go at the end.
+ pub nulls_first: bool,
+}
+
+impl SortingColumnMetaData {
+ pub fn new(column_index: i32, descending: bool, nulls_first: bool) -> Self
{
Review Comment:
Removed.
--
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]