gengliangwang commented on code in PR #51236:
URL: https://github.com/apache/spark/pull/51236#discussion_r2162678955
##########
common/utils/src/main/resources/error/error-conditions.json:
##########
@@ -90,6 +90,24 @@
],
"sqlState" : "42000"
},
+ "APPROX_TOP_K_MAX_ITEMS_TRACKED_LESS_THAN_K": {
+ "message": [
+ "`approx_top_k` must have `maxItemsTracked` greater than or equal to
`k`, but got `maxItemsTracked` = <maxItemsTracked> and `k` = <k>."
Review Comment:
Let's improve the error message here.
For example: The max items tracked `maxItemsTracked` of `approx_top_k`
should be greater than ...
--
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]