askoa commented on code in PR #3103:
URL: https://github.com/apache/arrow-rs/pull/3103#discussion_r1022827425
##########
parquet/src/file/metadata.rs:
##########
@@ -940,6 +974,38 @@ impl OffsetIndexBuilder {
}
}
+/// Metadata for sorting order for columns
+#[derive(Debug, Clone, Copy, 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 From<&SortingColumn> for SortingColumnMetaData {
+ fn from(sorting_column: &SortingColumn) -> Self {
+ SortingColumnMetaData {
Review Comment:
No longer required as I removed SortingColumnMetaData.
--
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]