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

Propagate table scan hints to JDBC

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.27.0
    • 1.28.0
    • core

    Description

      We would like to use table scan hints to pass parameters and variables to HANA views.

      It should be possible to convert the following Calcite SQL

      SELECT * FROM VIEW /*+ PLACEHOLDERS("$$PARAMETER_1$$"='Test') */
      

      using a special SqlDialect to a HANA specific statement

      SELECT * FROM VIEW ('PLACEHOLDER' = ('$$PARAMETER_1$$', 'Test'))
      

      See also my mail in the mailing list.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kramerul Ulrich Kramer
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 40m
                  40m