abhishekrb19 commented on code in PR #14391:
URL: https://github.com/apache/druid/pull/14391#discussion_r1226082400


##########
sql/src/main/java/org/apache/druid/sql/calcite/planner/ExplainAttributes.java:
##########
@@ -107,6 +112,7 @@ public String getClusteredBy()
    */
   @Nullable
   @JsonProperty
+  @JsonInclude(JsonInclude.Include.NON_NULL)

Review Comment:
   Yeah, it seems like we do a mix of method-level and class-level annotations 
in the codebase. Since we already do `@Nullable` consistently for all the 
methods in this class, I just stuck with the former.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to