Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-32466

Invalid input strategy for many functions which allows BINARY strings

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              twalthr Timo Walther
              twalthr Timo Walther
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: