AAfghahi commented on a change in pull request #14381:
URL: https://github.com/apache/superset/pull/14381#discussion_r631910125
##########
File path: superset-frontend/src/SqlLab/components/ResultSet.tsx
##########
@@ -56,6 +55,21 @@ const EXPLORE_CHART_DEFAULT = {
viz_type: 'table',
};
+enum LIMITING_FACTOR {
+ QUERY = 'QUERY',
+ QUERY_AND_DROPDOWN = 'QUERY_AND_DROPDOWN',
+ DROPDOWN = 'DROPDOWN',
+ NOT_LIMITED = 'NOT_LIMITED',
+}
+
+function limitReached(displayLimitReached: boolean) {
+ return displayLimitReached;
+}
+
+function defaultDropdown(queryLimit: number, limitingFactor: string) {
+ return queryLimit === 1000 && limitingFactor === LIMITING_FACTOR.DROPDOWN;
Review comment:
yeah! I just found it, and am now piping it into result set for this
reason.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]