[
https://issues.apache.org/jira/browse/CALCITE-5545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-5545.
----------------------------------
Fix Version/s: 1.34.0
Resolution: Fixed
Fixed in
[4e1952096|https://github.com/apache/calcite/commit/4e195209629f1a0ebd1e6f547ea3f0e7587b309f];
thanks for the PR, [~oliverlee]!
> 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
> Fix For: 1.34.0
>
> Time Spent: 3h 40m
> 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)