Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

<catalog>.<table> syntax not supported #238

Open
jordanw-bq opened this issue Oct 18, 2019 · 2 comments
Open

<catalog>.<table> syntax not supported #238

jordanw-bq opened this issue Oct 18, 2019 · 2 comments
Labels
BI integration Issues for integration with BI tools enhancement New feature or request low SQL

Comments

@jordanw-bq
Copy link
Contributor

Low priority issue; we could not find this syntax specifically used with Tableau, but other BI tools and JDBC applications may use this type of syntax.

Somewhat similar to #213, but this appears in the FROM clause.

Using Docker image amazon/opendistro-for-elasticsearch:1.1.0
Dataset: Flights sample data (loaded through Kibana)
SQL Plugin version: 1.1.0.1

Example Query:
SELECT Carrier FROM odfe-cluster.kibana_sample_data_flights

Results

Raw response received: {
  "error": {
    "reason": "Invalid SQL query",
    "details": "Field [odfe-cluster.kibana_sample_data_flights] cannot be found or used here.",
    "type": "SemanticAnalysisException"
  },
  "status": 400
}

Expectation:
Able to recognize this as a qualified table name in the odfe-cluster catalog.

@dai-chen dai-chen added BI integration Issues for integration with BI tools enhancement New feature or request labels Oct 18, 2019
@dai-chen
Copy link
Member

I assume odfe-cluster is your ES cluster name configured in ES config yml. Need to check if we have this information in plugin code.

@jordanw-bq
Copy link
Contributor Author

Yes, this is the our configured cluster name.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
BI integration Issues for integration with BI tools enhancement New feature or request low SQL
Projects
None yet
Development

No branches or pull requests

3 participants