Closed tsreaper closed 4 years ago
Thanks for the pr @TsReaper , please update README.md
merged
Why SHOW CURRENT CATALOG and SHOW CURRENT CATALOG have been removed from README? At the contrary, they have been consolidated..
Why SHOW CURRENT CATALOG and SHOW CURRENT CATALOG have been removed from README? At the contrary, they have been consolidated..
SHOW CURRENT CATALOG/DATABASE
are our self-defined statements and are not standard. We would like the statements we exposed to the users to be standard, or should at least be supported by Flink's SQL parser. You can of course "secretly" use these statements, but it might be possible that we change these statements to something more standard in the future.
I don't know..show current catalog/database are a must have to me, so they must be provided at least in the SQL Gateway. Maybe we can keep them in the README.md and just separate in a better way the custom ones from the official supported, telling that they will eventually converge. Having hidden feature is quite useless to me
Previously we parse
reset
,describe
andexplain
statements with regexps, which does not support parsing multiple statements and comments, and is also not standard.This PR parses
reset
,describe
andexplain
statements with SQL parser. SQL parser recognize these three commands in a slightly different way:RESET
should now be written asRESET ALL
DESCRIBE
can also be written asDESCRIBE TABLE
EXPLAIN
should now be written asEXPLAIN PLAN FOR