twdsilva commented on a change in pull request #2: PHOENIX-5197: Use
extraOptions to set the configuration for Spark Workers
URL: https://github.com/apache/phoenix-connectors/pull/2#discussion_r273275825
##########
File path:
phoenix-spark/src/main/java/org/apache/phoenix/spark/datasource/v2/writer/PhoenixDataSourceWriteOptions.java
##########
@@ -64,13 +70,18 @@ public boolean skipNormalizingIdentifier() {
return skipNormalizingIdentifier;
}
+ public Properties getOverriddenProps() {
+ return overriddenProps;
+ }
+
public static class Builder {
private String tableName;
private String zkUrl;
private String scn;
private String tenantId;
private StructType schema;
private boolean skipNormalizingIdentifier;
+ private Properties overriddenProps;
Review comment:
you should initialize this to new Properties()
----------------------------------------------------------------
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]
With regards,
Apache Git Services