Hi ~ 要开启大小写不敏感涉及的东西比较多,例如词法解析,catalog 以及部分访问表达式 (a.b.c 或者 a[‘f0’]),社区已经有 issue 跟进了 [1],预期在 1.12 版本可以解决。
[1] https://issues.apache.org/jira/browse/FLINK-16175 Best, Danny Chan 在 2020年8月27日 +0800 PM3:52,Tianwang Li <[email protected]>,写道: > 我们对用户在使用习惯了Hive之后,在写一些flink sql对时候经常碰到大小写对困扰。 > 使用对是默认对catalog。 > > ``` > Caused by: org.apache.calcite.sql.validate.SqlValidatorException: Column > 'uid' not found in any table; did you mean 'Uid'? > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:423) > at > org.apache.calcite.runtime.Resources$ExInstWithCause.ex(Resources.java:463) > at org.apache.calcite.runtime.Resources$ExInst.ex(Resources.java:572) > ... 28 more > > ``` > > > > -- > ************************************** > tivanli > **************************************
