You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/07/16 12:29:06 UTC

[GitHub] [arrow-rs] thinkharderdev commented on a diff in pull request #2089: Issue 2078

thinkharderdev commented on code in PR #2089:
URL: https://github.com/apache/arrow-rs/pull/2089#discussion_r922675052


##########
parquet/src/encodings/decoding.rs:
##########
@@ -681,13 +707,20 @@ where
         Ok(to_read)
     }
 
+
+
     fn values_left(&self) -> usize {
         self.values_left
     }
 
     fn encoding(&self) -> Encoding {
         Encoding::DELTA_BINARY_PACKED
     }
+
+    fn skip(&mut self, num_values: usize) -> Result<usize> {
+        let mut buffer = vec![T::T::default(); num_values];

Review Comment:
   This seems to kind of defeat the purpose but not sure how to skip delta encoded values without it....



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org