You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/04/30 16:46:28 UTC
[GitHub] [incubator-superset] mistercrunch commented on a change in pull
request #6610: Add support to Apache Drill
mistercrunch commented on a change in pull request #6610: Add support to Apache Drill
URL: https://github.com/apache/incubator-superset/pull/6610#discussion_r279840819
##########
File path: superset/assets/src/components/TableSelector.jsx
##########
@@ -170,13 +170,8 @@ export default class TableSelector extends React.PureComponent {
this.setState({ tableName: '' });
return;
}
- const namePieces = tableOpt.value.split('.');
- let tableName = namePieces[0];
- let schemaName = this.props.schema;
- if (namePieces.length > 1) {
- schemaName = namePieces[0];
- tableName = namePieces[1];
- }
+ const tableName = tableOpt.value;
+ const schemaName = this.props.schema;
Review comment:
I think if/when using `TABLE_NAMES_CACHE_CONFIG`, the logic that got removed will be needed.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org