[ 
https://issues.apache.org/jira/browse/PARQUET-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17787244#comment-17787244
 ] 

ASF GitHub Bot commented on PARQUET-2380:
-----------------------------------------

wgtmac commented on code in PR #1195:
URL: https://github.com/apache/parquet-mr/pull/1195#discussion_r1397444146


##########
parquet-hadoop/src/main/java/org/apache/parquet/hadoop/util/HadoopOutputFile.java:
##########
@@ -54,11 +54,19 @@ private static boolean supportsBlockSize(FileSystem fs) {
   private final Configuration conf;
 
   public static HadoopOutputFile fromPath(Path path, Configuration conf)
-      throws IOException {
+    throws IOException {
     FileSystem fs = path.getFileSystem(conf);
     return new HadoopOutputFile(fs, fs.makeQualified(path), conf);
   }
 
+  public static HadoopOutputFile fromPathUnchecked(Path path, Configuration 
conf) {

Review Comment:
   Why do we need this?





> Decouple RewriteOptions from Hadoop classes
> -------------------------------------------
>
>                 Key: PARQUET-2380
>                 URL: https://issues.apache.org/jira/browse/PARQUET-2380
>             Project: Parquet
>          Issue Type: Improvement
>          Components: parquet-mr
>            Reporter: Atour Mousavi Gourabi
>            Priority: Major
>
> ParquetRewriter's RewriteOptions makes use of Hadoop Path and Configuration, 
> where it could instead allow users to specify these using the Parquet 
> interface methods as well. This would allow for proper decoupling Hadoop for 
> rewriting in a later stage as well.
> This is part of a larger effort to decouple Parquet from Hadoop libraries.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to