Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-14320 [FLIP-66] Support Time Attribute in SQL DDL
  3. FLINK-14323

Serialize Expression to String and parse String to Expression

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      In order to persist/store the watermark strategy expression (and the future computed column expression), we should find a way to serialize Expression to String and parse String back to Expression.

      More details can be discussed under this JIRA issue, and this may need another FLIP.

      There are two ways:
      1) introduce a SqlExpression which wraps the raw SQL string and resolved DataType. Only implement the asSerializableString for SqlExpression.
      2) support all of the ResolvedExpressions’ asSerializableString.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jark Jark Wu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: