Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3221 Move Table API on top of Apache Calcite
  3. FLINK-3489

Refactor Table API before merging into master

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • Table SQL / API
    • None

    Description

      Before we merge the `tableOnCalcite` branch back into master, we should do some package/class refactoring. Here are some ideas:

      • Move class TreeNode into expressions or its methods directly into Expression.
      • Remove the org.apache.flink.api.table.trees package.
      • Rename org.apache.flink.api.table.typeinfo to typeutils to be in sync with other Flink modules.
      • Move TypeConverter to typeutils
      • Remove ExpressionException it is currently only used by typeInfo() of Expression
      • Remove typeInfo() of Expression and subclasses. It is not used.
      • Add ExecutionEnvironment as parameter of TableEnvironment (necessary for Table API specific input formats) in order to not break the API in future?
      • Remove println in translators.

      Feel free to propose other changes.

      Attachments

        Activity

          People

            vkalavri Vasia Kalavri
            twalthr Timo Walther
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: