Repository: flink Updated Branches: refs/heads/master b7d83899a -> db919a585
[hotfix] [table] Add docs about SQL's lexical policy Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/db919a58 Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/db919a58 Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/db919a58 Branch: refs/heads/master Commit: db919a58584e9aafe0d3b8b738a9bd17361b05b5 Parents: b7d8389 Author: twalthr <twal...@apache.org> Authored: Wed Aug 31 10:45:26 2016 +0200 Committer: twalthr <twal...@apache.org> Committed: Wed Aug 31 10:45:26 2016 +0200 ---------------------------------------------------------------------- docs/dev/table_api.md | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/db919a58/docs/dev/table_api.md ---------------------------------------------------------------------- diff --git a/docs/dev/table_api.md b/docs/dev/table_api.md index 8ca602d..543945c 100644 --- a/docs/dev/table_api.md +++ b/docs/dev/table_api.md @@ -1165,6 +1165,12 @@ groupItem: ``` +For a better definition of SQL queries within a Java String, Flink SQL uses a lexical policy similar to Java: + +- The case of identifiers is preserved whether or not they are quoted. +- After which, identifiers are matched case-sensitively. +- Unlike Java, back-ticks allow identifiers to contain non-alphanumeric characters (e.g. <code>"SELECT a AS `my field` FROM t"</code>). + {% top %}