rok commented on code in PR #13901:
URL: https://github.com/apache/arrow/pull/13901#discussion_r1737559345
##########
cpp/src/parquet/properties.h:
##########
@@ -941,6 +942,15 @@ class PARQUET_EXPORT ArrowReaderProperties {
return coerce_int96_timestamp_unit_;
}
+ /// Enable Parquet supported Arrow Extension Types.
+ ///
+ /// When enabled, Parquet will use supported Arrow ExtensionTypes in mapping
to Arrow
+ /// schema. Currently only arrow::extension::json() extension type is
supported. This
+ /// will be used for utf8 columns whose LogicalType is JSON.
+ void set_arrow_extensions_enabled() { arrow_extensions_enabled_ = true; }
+ void set_arrow_extensions_disabled() { arrow_extensions_enabled_ = false; }
+ bool get_arrow_extensions_enabled() const { return
arrow_extensions_enabled_; }
+
Review Comment:
Changed.
--
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]