jackjlli commented on a change in pull request #7125: URL: https://github.com/apache/incubator-pinot/pull/7125#discussion_r663538771
########## File path: pinot-spi/src/main/java/org/apache/pinot/spi/config/table/UpsertConfig.java ########## @@ -37,18 +39,15 @@ APPEND, INCREMENT, OVERWRITE, UNION } + @JsonPropertyDescription("Upsert mode.") private final Mode _mode; - private final Map<String, Strategy> _partialUpsertStrategies; - public UpsertConfig(@JsonProperty(value = "mode", required = true) Mode mode) { Review comment: Can we just keep this constructor and make it call `this(mode, null)`? By doing so, you don't have to change all the places that invoke this method. -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org