[
https://issues.apache.org/jira/browse/CALCITE-7407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-7407:
------------------------------------
Labels: pull-request-available (was: )
> Illegal use of dynamic parameter with ||
> ----------------------------------------
>
> Key: CALCITE-7407
> URL: https://issues.apache.org/jira/browse/CALCITE-7407
> Project: Calcite
> Issue Type: Bug
> Components: jdbc-driver
> Affects Versions: 1.41.0
> Reporter: Jerome Isaac Haltom
> Priority: Minor
> Labels: pull-request-available
>
> ---- java.sql.SQLException : Error while preparing statement [SELECT
> "c"."CustomerID", "c"."Address", "c"."City", "c"."CompanyName",
> "c"."ContactName", "c"."ContactTitle", "c"."Country", "c"."Fax", "c"."Phone",
> "c"."PostalCode", "c"."Region"
> FROM "Customers" AS "c"
> WHERE "c"."CustomerID" = ((? || 'KI'))]
> -------- org.apache.calcite.runtime.CalciteContextException : At line 3,
> column 28
> ------------ org.apache.calcite.sql.validate.SqlValidatorException : Illegal
> use of dynamic parameter
--
This message was sent by Atlassian Jira
(v8.20.10#820010)