You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sergey Nuyanzin (Jira)" <ji...@apache.org> on 2026/06/19 09:59:00 UTC
[jira] [Closed] (FLINK-39887) Use validated query node as a fallback when parsing the raw asQuery fails
[ https://issues.apache.org/jira/browse/FLINK-39887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Nuyanzin closed FLINK-39887.
-----------------------------------
Resolution: Won't Fix
> Use validated query node as a fallback when parsing the raw asQuery fails
> -------------------------------------------------------------------------
>
> Key: FLINK-39887
> URL: https://issues.apache.org/jira/browse/FLINK-39887
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / Planner
> Reporter: Ramin Gharib
> Assignee: Ramin Gharib
> Priority: Minor
>
> -validate(asQuery) may mutate asQuery. In the fallback path (no statement text available), orElse(context.toQuotedSqlString(asQuery)) can therefore serialize a mutated node. Prefer using the validated node (or snapshotting the quoted SQL before validation) to keep the fallback deterministic.-
--
This message was sent by Atlassian Jira
(v8.20.10#820010)