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

Add SQL scalar functions to Table API

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Table SQL / API
    • None

    Description

      In order to use the Table API as ETL tool and prepare for FLINK-2099, we need to add more scalar functions such as trim(), abs(), like(), etc.

      Calcite implements the most important functions. We can basically forward calls to Calcites built-in runtime functions. Some functions need special treatment because of Flink specifics.

      I would propose the following steps:

      • Implement TRIM, SUBSTRING as reference design
      • remaining string functions
      • math functions
      • Date/time functions
      • System functions
      • Case function
      • Array functions
      • other

      Each step includes implementation, test and documentation.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: