Manya0407 commented on code in PR #6560:
URL: https://github.com/apache/hive/pull/6560#discussion_r3491610257


##########
ql/src/java/org/apache/hadoop/hive/ql/QueryProperties.java:
##########
@@ -196,116 +198,124 @@ public boolean isCBOSupportedLateralViews() {
     return cboSupportedLateralViews;
   }
 
+  public void addFeature(QueryFeature feature) {
+    features.add(feature);
+  }
+
+  public boolean hasFeature(QueryFeature feature) {
+    return features.contains(feature);
+  }
+
   public boolean hasGroupBy() {

Review Comment:
   Removed the feature-specific getters/setters from QueryProperties and 
updated callers to use addFeature() and hasFeature() directly.



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