Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Mysql gateway not supporting show warning command #30

Closed
rajitha703 opened this issue May 19, 2016 · 4 comments
Closed

Mysql gateway not supporting show warning command #30

rajitha703 opened this issue May 19, 2016 · 4 comments

Comments

@rajitha703
Copy link

rajitha703 commented May 19, 2016

Hi,

Show warnings doesn't seem to be supported in the new Mysql gateway . Would be great if this can be supported in any of the future releases.

Got SQL: SHOW WARNINGS

Failed to resolve query with Plywood.
Query:
SHOW WARNINGS
If you believe this query should work please create an issue on PlyQL and include this section
Issue url: https://github.com/implydata/plyql/issues
Message:
SQL parse error: Expected "COLUMNS", "DATABASES", "FULL", "GLOBAL", "SCHEMAS", "SESSION", "TABLES" or "VARIABLES" but "W" found. on 'SHOW WARNINGS'
Stack:
Error: SQL parse error: Expected "COLUMNS", "DATABASES", "FULL", "GLOBAL", "SCHEMAS", "SESSION", "TABLES" or "VARIABLES" but "W" found. on 'SHOW WARNINGS'
    at Function.Expression.parseSQL (/home/rajitha/imply-1.2.1/dist/pivot/node_modules/plywood/build/plywood.js:5482:23)
    at /home/rajitha/imply-1.2.1/dist/pivot/node_modules/plyql/build/plyql-mysql-gateway.js:43:53
    at Promise.apply (/home/rajitha/imply-1.2.1/dist/pivot/node_modules/q/q.js:1165:26)
    at Promise.promise.promiseDispatch (/home/rajitha/imply-1.2.1/dist/pivot/node_modules/q/q.js:788:41)
    at /home/rajitha/imply-1.2.1/dist/pivot/node_modules/q/q.js:1391:14
    at runSingle (/home/rajitha/imply-1.2.1/dist/pivot/node_modules/q/q.js:137:13)
    at flush (/home/rajitha/imply-1.2.1/dist/pivot/node_modules/q/q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)

@vogievetsky
Copy link
Member

good one!

@vogievetsky
Copy link
Member

Will add support in future release

@rajitha703
Copy link
Author

Sure. Thanks

@davidagee
Copy link
Contributor

Please note that this project is now deprecated. Please see the Druid SQL docs for information on using SQL syntax with Druid.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants