Closed Fokko closed 2 months ago
Good to go. @wgtmac @shangxinli @amousavigourabi @vinooganesh LMKWYT
👍 this looks good to me, but do we want to actually mark the hadoop methods as deprecated if we are going to assume that parquet-mr 1.x will always rely on hadoop? Or is there actually a plan to drop the hadoop dependency on future 1.x releases?
👍 this looks good to me, but do we want to actually mark the hadoop methods as deprecated if we are going to assume that parquet-mr 1.x will always rely on hadoop? Or is there actually a plan to drop the hadoop dependency on future 1.x releases?
You can still use the Hadoop config, but you'll need to wrap it into a HadoopParquetConfiguration
: https://github.com/apache/parquet-mr/blob/68609198c4fecaa0e8fb1bcaa2c8a353030de962/parquet-hadoop/src/main/java/org/apache/parquet/conf/HadoopParquetConfiguration.java#L42-L44
👍 this looks good to me, but do we want to actually mark the hadoop methods as deprecated if we are going to assume that parquet-mr 1.x will always rely on hadoop? Or is there actually a plan to drop the hadoop dependency on future 1.x releases?
I'd like to note that we have other stuff that is deprecated because they will be dropped in 2.0 without any plans to remove them in 1.x releases as well (see: org.apache.parquet.avro.AvroParquetReader#builder(Path)
for an example of this), so this is consistent with the usage in the rest of the project.
Sounds great, thank @Fokko and @amousavigourabi!
We see that this causes the 1.14 to be incompatible with the previous releases.
getWriteSupport(conf)
is called: https://github.com/apache/parquet-mr/pull/1141/files#diff-1ad34fccaed5421e95285fbcceaf63d9d55b8460b5fb301b65468f8a15603b5fR784It is not implemented and causes an
UnsupportedOperationException
if you don't supply a config.Jira
Tests
Commits
Style
mvn spotless:apply -Pvector-plugins
Documentation