[ 
https://issues.apache.org/jira/browse/CALCITE-4640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17613416#comment-17613416
 ] 

Stamatis Zampetakis commented on CALCITE-4640:
----------------------------------------------

The change modified the only constructor of {{JdbcTableScan}} causing 
compilation problems to projects extending the latter. It is a breaking change 
that was not marked in the release notes of 1.28.0. The usual pattern is 
deprecate the old constructor and add a new one when modifying RelNodes. Please 
keep backward compatibility in mind when proposing/accepting changes for 
Calcite.

> 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.20.10#820010)

Reply via email to