Numerous improvements to SQL Lab (#1088)

* Improving the Visualize flow

* Fixed the timer

* CTAS

* Expiclit engine handling

* make tab full height, stretch for longer content (#1081)

* Better error handling for queries

* Hooked and fixed CSV export

* Linting

* Tying in the dttm in the viz flow

* Indicator showing when going offline

* Addressing comments, fixing the build

* Fixing unit tests
This commit is contained in:
Maxime Beauchemin
2016-09-11 07:39:07 -07:00
committed by GitHub
parent c20ee0c129
commit 1971bf653c
19 changed files with 299 additions and 206 deletions

View File

@@ -27,7 +27,7 @@ class Timer extends React.Component {
}
stopwatch() {
if (this.props && this.props.query) {
const since = (this.props.query.endDttm) ? this.props.query.endDttm : now();
const since = this.props.query.endDttm || now();
const clockStr = fDuration(this.props.query.startDttm, since);
this.setState({ clockStr });
if (this.props.query.state !== 'running') {