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

ASF GitHub Bot updated CALCITE-7503:
------------------------------------
    Labels: pull-request-available  (was: )

> Hint validation does not have access to source position
> -------------------------------------------------------
>
>                 Key: CALCITE-7503
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7503
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.41.0
>            Reporter: Mihai Budiu
>            Priority: Minor
>              Labels: pull-request-available
>
> One can attach hints to queries using the /*+ */ syntax.
> Hints start as SqlHint objects, and are converted to RelHint objects. SqlHint 
> object have a parser position, but RelHint objects do not.
> Each hint type has a validation function. That function is called on the 
> RelHint object.
> On validation failure the function cannot point out to the position of the 
> hint, since it cannot access it. 
> The proposal is to add source position to RelHint objects.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to