mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
[SQLLab] user server for the query limit check. (#1230)
This commit is contained in:
@@ -193,12 +193,12 @@ class SqlEditor extends React.Component {
|
||||
);
|
||||
}
|
||||
let limitWarning = null;
|
||||
const rowLimit = 1000;
|
||||
if (this.props.latestQuery && this.props.latestQuery.rows === rowLimit) {
|
||||
if (this.props.latestQuery && this.props.latestQuery.limit_reached) {
|
||||
const tooltip = (
|
||||
<Tooltip id="tooltip">
|
||||
It appears that the number of rows in the query results displayed
|
||||
was limited on the server side to the {rowLimit} limit.
|
||||
was limited on the server side to
|
||||
the {this.props.latestQuery.rows} limit.
|
||||
</Tooltip>
|
||||
);
|
||||
limitWarning = (
|
||||
|
||||
Reference in New Issue
Block a user