hhhizzz commented on code in PR #8733:
URL: https://github.com/apache/arrow-rs/pull/8733#discussion_r2504578882
##########
parquet/src/column/reader.rs:
##########
@@ -541,6 +626,44 @@ where
}
}
+ fn try_create_synthetic_page(&mut self, metadata: Option<PageMetadata>) ->
Result<()> {
+ if self.descr.max_rep_level() != 0 {
+ return Err(general_err!(
+ "cannot synthesise sparse page for column with repetition
levels ({message})"
+ ));
+ }
+
+ if self.descr.max_def_level() == 0 {
+ return Err(general_err!(
+ "cannot synthesise sparse page for required column ({message})"
+ ));
+ }
Review Comment:
Removed the code for this synthetic page.
--
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]