[ 
https://issues.apache.org/jira/browse/CALCITE-4640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Danny Chen resolved CALCITE-4640.
---------------------------------
    Fix Version/s: 1.28.0
       Resolution: Fixed

Fixed in 
[44dfb70|https://github.com/apache/calcite/pull/2426/commits/44dfb709602d822ac681065a31b426de50649351],
 thanks for the PR [~kramerul] ~

> Propagate table scan hints to JDBC
> ----------------------------------
>
>                 Key: CALCITE-4640
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4640
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.27.0
>            Reporter: Ulrich Kramer
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.28.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> We would like to use table scan hints to pass [parameters and variables to 
> HANA 
> views|https://help.sap.com/viewer/88fe5f56472e40cca6ef3c3dcab4855b/2.0.04/en-US/fafb3ea432e54fca9eff11648df5bccd.html].
> It should be possible to convert the following Calcite SQL
> {code}
> SELECT * FROM VIEW /*+ PLACEHOLDERS("$$PARAMETER_1$$"='Test') */
> {code}
> using a special {{SqlDialect}} to a HANA specific statement
> {code}
> SELECT * FROM VIEW ('PLACEHOLDER' = ('$$PARAMETER_1$$', 'Test'))
> {code}
> See also my [mail in the mailing 
> list|https://mail-archives.apache.org/mod_mbox/calcite-dev/202105.mbox/%3CD161B82F-5DEC-49A2-A873-4817F4DEB15F%40contoso.com%3E].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to