Skip to content

Commit

Permalink
Add schema name to output column in query history (#1790)
Browse files Browse the repository at this point in the history
* Add schema name to output column in query history

* Replace line break with dot between schema and table name
  • Loading branch information
vera-liu authored Dec 9, 2016
1 parent 68c2eab commit 866cfe5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 866cfe5

Please sign in to comment.