Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-135

Add a PARSE_TREE hook point with SqlNode parameter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      We have the requirement to get the input SQL in RelNode. But the HOOK.PLAN_QUERY is only called in JdbcToEnumerableConverter.implement() that also keep the JdbcImplementor generated sql instead of input sql.

      Is it possible to add a SQL_PLAN hook with SqlNode parameter in Prepare.prepareSql()?

      ---------------- Imported from GitHub ----------------
      Url: https://github.com/julianhyde/optiq/issues/135
      Created by: jiangxuchina
      Labels:
      Created at: Fri Feb 14 02:56:27 CET 2014
      State: closed

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              github-import GitHub Import
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: