[
https://issues.apache.org/jira/browse/CALCITE-5545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17695882#comment-17695882
]
Oliver Lee commented on CALCITE-5545:
-------------------------------------
I left a comment, otherwise it looks good. Thanks for helping me with it.
> 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: 3.5h
> 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)