Skip to content

Commit

Permalink
maybe fix python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Jul 15, 2024
1 parent 0fa9042 commit 5920261
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/dataset/file_parquet.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class ARROW_DS_EXPORT ParquetFileFormat : public FileFormat {
/// @{
std::unordered_set<std::string> dict_columns;
arrow::TimeUnit::type coerce_int96_timestamp_unit = arrow::TimeUnit::NANO;
bool convert_unknown_logical_types;
bool convert_unknown_logical_types = false;
/// @}
} reader_options;

Expand Down
4 changes: 4 additions & 0 deletions python/pyarrow/_dataset_parquet.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,10 @@ cdef class ParquetReadOptions(_Weakrefable):
resolution (e.g. 'ms'). Setting to None is equivalent to 'ns'
and therefore INT96 timestamps will be inferred as timestamps
in nanoseconds
convert_unknown_logical_types : bool, default false
When enabled, the Arrow reader will use the underlying physical type
of a logical type that it does not recognize (e.g., one that was added
to the spec but not implemented in Parquet C++).
"""

cdef public:
Expand Down

0 comments on commit 5920261

Please sign in to comment.