tustvold commented on code in PR #2529:
URL: https://github.com/apache/arrow-rs/pull/2529#discussion_r950330507


##########
parquet/benches/arrow_reader.rs:
##########
@@ -354,6 +431,59 @@ fn create_primitive_array_reader(
     }
 }
 
+fn create_decimal_byte_array_reader(
+    page_iterator: impl PageIterator + 'static,
+    column_desc: ColumnDescPtr,
+) -> Box<dyn ArrayReader> {
+    let data_type = parquet_to_arrow_field(column_desc.as_ref())
+        .unwrap()
+        .data_type()
+        .clone();
+
+    let physical_type = column_desc.physical_type();
+
+    match physical_type {
+        Type::BYTE_ARRAY => {
+            match data_type {
+                DataType::Decimal128(precision, scale) => {
+                    // read decimal data from parquet binary physical type
+                    let convert = DecimalByteArrayConvert::new(

Review Comment:
   FYI these functions are being removed... #2528 



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

Reply via email to