Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15128

Calcite: Take own control of SQL functions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • sql
    • Docs Required, Release Notes Required

    Description

      As of now, we use a set of 4 database function dialects:

      SqlLibrary.STANDARD,
      SqlLibrary.POSTGRESQL,
      SqlLibrary.ORACLE,
      SqlLibrary.MYSQL

      Seems we should have owned our dialect with a subset of the aforementioned functions and have the ability to modify already exists functions and add a new one.

      During implementation need to sort out similar functions and choose just one of them to avoid duplication, 

      See :
      org.apache.calcite.util.BuiltInMethod

      org.apache.calcite.sql.fun.SqlLibraryOperators
      org.apache.calcite.runtime.SqlFunctions

      org.apache.ignite.internal.processors.query.calcite.exec.exp.RexImpTable

      Attachments

        Issue Links

          Activity

            People

              alex_pl Aleksey Plekhanov
              jooger Iurii Gerzhedovich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h