[
https://issues.apache.org/jira/browse/PARQUET-2347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17774967#comment-17774967
]
ASF GitHub Bot commented on PARQUET-2347:
-----------------------------------------
amousavigourabi commented on PR #1141:
URL: https://github.com/apache/parquet-mr/pull/1141#issuecomment-1761739906
> @amousavigourabi we have added so many public methods to keep the backward
compatibility. So which one is preferred (I think it should be
the`ParquetConfiguration`)? Should we deprecate the old one?
the `ParquetConfiguration` methods are indeed preferred. I would be in
favour of deprecating the Hadoop `Configuration` methods. However, I do think
deprecating these methods might warrant a separate discussion on the mailing
list (as their deprecation and subsequent removal would go further than what we
have previously discussed, it would be a step in the direction of eliminating
the need for `hadoop-client-api` altogether instead of just
`hadoop-client-runtime`) and does not necessarily need to be a part of this PR.
> Add interface layer between Parquet and Hadoop Configuration
> ------------------------------------------------------------
>
> Key: PARQUET-2347
> URL: https://issues.apache.org/jira/browse/PARQUET-2347
> Project: Parquet
> Issue Type: Improvement
> Components: parquet-mr
> Reporter: Atour Mousavi Gourabi
> Priority: Minor
>
> Parquet relies heavily on a few Hadoop classes, such as its Configuration
> class, which is used throughout Parquet's reading and writing logic. If we
> include our own interface for this, this could potentially allow users to use
> Parquet's readers and writers without the Hadoop dependency later on.
> In order to preserve backward compatibility and avoid breaking downstream
> projects, the constructors and methods using Hadoop's constructor should be
> preserved for the time being, though I would favour deprecation in the near
> future.
> This is part of an effort that has been [discussed on the dev mailing
> list|https://lists.apache.org/thread/4wl0l3d9dkpx4w69jx3rwnjk034dtqr8].
--
This message was sent by Atlassian Jira
(v8.20.10#820010)