Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
"string" in SQL terms covers both character strings and binary strings. The author of CONCAT might not have known this. In any case, the code gen instead of the validator fails when executing:
TableEnvironment t = TableEnvironment.create(EnvironmentSettings.inStreamingMode()); t.createTemporaryView("t", t.fromValues(lit(new byte[] {97}))); t.executeSql("SELECT CONCAT(f0, '-magic') FROM t").print();
As future work, we should also allow binary strings.
Attachments
Issue Links
- links to