iemejia commented on a change in pull request #14171:
URL: https://github.com/apache/beam/pull/14171#discussion_r590479989
##########
File path:
sdks/java/io/parquet/src/main/java/org/apache/beam/sdk/io/parquet/ParquetIO.java
##########
@@ -641,11 +661,14 @@ public ReadFiles withProjection(Schema projectionSchema,
Schema encoderSchema) {
/** Specify Hadoop configuration for ParquetReader. */
public ReadFiles withConfiguration(Map<String, String> configuration) {
+ checkArgument(configuration != null, "configuration can not be null");
return
toBuilder().setConfiguration(SerializableConfiguration.fromMap(configuration)).build();
}
- public ReadFiles withConfiguration(SerializableConfiguration
configuration) {
Review comment:
This was added in the ongoing version and it has not been released so we
don't need to deprecate it, that's the reason why I wanted this fixed before
the branch cut.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]