[
https://issues.apache.org/jira/browse/IGNITE-21055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maksim Zhuravkov updated IGNITE-21055:
--------------------------------------
Labels: ignite-3 (was: )
> Sql. ParserService should use SqlNode::unparse instead of SqlNode::toString
> ---------------------------------------------------------------------------
>
> Key: IGNITE-21055
> URL: https://issues.apache.org/jira/browse/IGNITE-21055
> Project: Ignite
> Issue Type: Improvement
> Components: sql
> Reporter: Maksim Zhuravkov
> Priority: Minor
> Labels: ignite-3
>
> Problem - SqlNodes may contain sensitive information that can leak into logs
> via toString method, in order to avoid such
> issues it maybe a good idea to override toString method to remove all
> sensitive information for such SQL nodes.
> Unfornutently such approach breaks PrepareService, because it builds a copy
> for a SQL AST from SQL string created by SqlNode::toString method.
> Let's update ParserService to build SQL via unparse method to avoid this
> problem.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)