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

Oliver Lee updated CALCITE-5545:
--------------------------------
    Description: 
Goal: Be able to enable custom SqlNode validation

It will require overloading {{CalcitePrepareImpl}}, setting the 
{{prepareFactory}} in {{Driver.java}} to use the overloaded 
{{CalcitePrepareImpl}}, and then overloading {{createSqlValidator()}} and 
{{getSqlValidator()}} of {{CalcitePreparingStmt}}


Some changes to constructor access level is needed, no functionality or logic 
change is needed 

  was:
Goal: Be able to enable custom SqlNode validation

It will require overloading {{CalcitePrepareImpl}}, setting the 
{{prepareFactory}} in {{Driver.java}} to use the overloaded 
{{CalcitePrepareImpl}}, and then overloading {{createSqlValidator()}} and 
{{getSqlValidator()}} of {{CalcitePreparingStmt}}


> Allow for overriding SqlValidator to enable custom SqlNode validation
> ---------------------------------------------------------------------
>
>                 Key: CALCITE-5545
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5545
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Oliver Lee
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Goal: Be able to enable custom SqlNode validation
> It will require overloading {{CalcitePrepareImpl}}, setting the 
> {{prepareFactory}} in {{Driver.java}} to use the overloaded 
> {{CalcitePrepareImpl}}, and then overloading {{createSqlValidator()}} and 
> {{getSqlValidator()}} of {{CalcitePreparingStmt}}
> Some changes to constructor access level is needed, no functionality or logic 
> change is needed 



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

Reply via email to