-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] Read parquet tables with int96 coercion option #1231
Conversation
Issue filed in arrow2: jorgecarleitao/arrow2#1527 |
@@ -94,33 +95,30 @@ impl ParquetReaderBuilder { | |||
|
|||
let metadata = read_parquet_metadata(uri, size, io_client).await?; | |||
let num_rows = metadata.num_rows; | |||
let schema = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE: schema inference is now deferred to only when .build()
is called
This allows the builder to make better decisions about whether it needs to infer the schema (i.e. did the user provide one?) and, if so, how it should infer the schema (what flags did the user provide)?
bb47bb9
to
657986c
Compare
657986c
to
65852b6
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1231 +/- ##
==========================================
- Coverage 87.69% 87.26% -0.44%
==========================================
Files 56 62 +6
Lines 5698 5944 +246
==========================================
+ Hits 4997 5187 +190
- Misses 701 757 +56
|
Add option to coerce int96 timestamps to a specific TimeUnit during reads of Parquet