You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Oliver Lee (Jira)" <ji...@apache.org> on 2023/02/24 23:34:00 UTC

[jira] [Commented] (CALCITE-5545) Allow for overriding SqlValidator to enable custom SqlNode validation

    [ https://issues.apache.org/jira/browse/CALCITE-5545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17693379#comment-17693379 ] 

Oliver Lee commented on CALCITE-5545:
-------------------------------------

PR: https://github.com/apache/calcite/pull/3084

> 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}}



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