Add schema name to output column in query history (#1790)

* Add schema name to output column in query history

* Replace line break with dot between schema and table name
This commit is contained in:
vera-liu 2016-12-09 11:03:31 -08:00 committed by GitHub
parent 68c2eab6b9
commit 866cfe5279
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ class QueryTable extends React.PureComponent {
/>
);
} else {
q.output = q.tempTable;
q.output = [q.schema, q.tempTable].filter((v) => (v)).join('.');
}
q.progress = (
<ProgressBar

View File

@ -74,7 +74,7 @@ class SqlEditor extends React.PureComponent {
sqlEditorId: qe.id,
tab: qe.title,
schema: qe.schema,
tempTableName: this.state.ctas,
tempTableName: ctas ? this.state.ctas : '',
runAsync,
ctas,
};