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

Fix missing comma in SQL example in "Versioned View" page

    XMLWordPrintableJSON

Details

    • Patch

    Description

      Very minimal updates on the documentation https://ci.apache.org/projects/flink/flink-docs-release-1.13/docs/dev/table/concepts/versioned_tables/#versioned-table-views

      The Script to create a Versioned View was missing a "," at Line 3

      If any user copying this script and create their versioned view it will result below error

      [ERROR] Could not execute SQL statement. Reason:
      org.apache.flink.sql.parser.impl.ParseException: Encountered "update_time" at line 4, column 2.
      Was expecting one of:
      "CONSTRAINT" ...
      "NOT" ...
      ...

       

      The proposed change is to add "," to Line 3 to correctly pass the semantic check

      Attachments

        Issue Links

          Activity

            People

              hanwei-36 HanWei
              hanwei-36 HanWei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: