xiangfu0 commented on code in PR #17532:
URL: https://github.com/apache/pinot/pull/17532#discussion_r2796334155


##########
pinot-common/src/main/java/org/apache/pinot/common/utils/config/QueryOptionsUtils.java:
##########
@@ -68,6 +68,8 @@ private QueryOptionsUtils() {
           }
         }
       }
+      // Backward-compatible alias used by SQL SET syntax: SET sampler='x'
+      configResolver.put("sampler", QueryOptionKey.TABLE_SAMPLER);

Review Comment:
   SQL is using SAMPLE at run time to pick rows, our concept is bit different, 
making query option `sampler` to match it.



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