TheNeuralBit commented on a change in pull request #15811:
URL: https://github.com/apache/beam/pull/15811#discussion_r739369279



##########
File path: 
sdks/java/io/parquet/src/main/java/org/apache/beam/sdk/io/parquet/ParquetIO.java
##########
@@ -387,11 +389,26 @@ public Read withBeamSchemas(boolean inferBeamSchema) {
       return toBuilder().setInferBeamSchema(inferBeamSchema).build();
     }
 
-    /** Enable the Splittable reading. */
+    /**
+     * Enable the Splittable reading.
+     *
+     * @deprecated as of version 2.35.0. Splittable reading must be always 
enabled.
+     */
+    @Deprecated
     public Read withSplit() {
       return toBuilder().setSplittable(true).build();
     }
 
+    /**
+     * Disable the Splittable reading.
+     *
+     * @deprecated as of version 2.35.0. Splittable reading must be always 
enabled.

Review comment:
       nit:
   ```suggestion
        * @deprecated This method may currently be used to opt-out of the 
default, splittable, behavior. However, this will be removed in a future 
release assuming no issues are discovered.
   ```
   (potentially identify a specific release here?)

##########
File path: 
sdks/java/io/parquet/src/main/java/org/apache/beam/sdk/io/parquet/ParquetIO.java
##########
@@ -387,11 +389,26 @@ public Read withBeamSchemas(boolean inferBeamSchema) {
       return toBuilder().setInferBeamSchema(inferBeamSchema).build();
     }
 
-    /** Enable the Splittable reading. */
+    /**
+     * Enable the Splittable reading.
+     *
+     * @deprecated as of version 2.35.0. Splittable reading must be always 
enabled.

Review comment:
       nit:
   ```suggestion
        * @deprecated as of version 2.35.0. Splittable reading is enabled by 
default.
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to