Closed moulimukherjee closed 5 years ago
@johnynek I will address the comments and add tests.
Added tests. @johnynek PTAL again?
looks good for me, @moulimukherjee could you mention in the code a link on your PR to Parquet
https://github.com/apache/parquet-mr/pull/558 and tell what's the need to be deleted after that PR will be merged?
Currently the following scenarios fail while using projections, which this PR attempts to fix.
Adding an optional field to an existing thrift schema and making it part of the projection for reading data written using older thrift. This is one of the common use cases at Stripe for schema evolution.
Projecting a required field using optional.
cc? @johnynek @ianoc