bvaradar commented on a change in pull request #1834:
URL: https://github.com/apache/hudi/pull/1834#discussion_r468857201
##########
File path:
hudi-client/src/main/java/org/apache/hudi/config/HoodieWriteConfig.java
##########
@@ -670,7 +670,9 @@ public Builder withPath(String basePath) {
}
public Builder withSchema(String schemaStr) {
- props.setProperty(AVRO_SCHEMA, schemaStr);
+ if (null != schemaStr) {
Review comment:
For Bulk Insert V2, we are passing null in createHoodieConfig(...). May
be we can change createHoodieConfig() to not call withSchema() for bulk insert
V2.
----------------------------------------------------------------
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]