You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2026/03/23 17:56:00 UTC

[jira] [Comment Edited] (YARN-11952) Move FederationQueryRunner to prepared statements

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

Steve Loughran edited comment on YARN-11952 at 3/23/26 5:55 PM:
----------------------------------------------------------------

the (internal) truncate tables stuff won't be replaced. but the mysql branch will use backticks, that being what mysql requires.

https://stackoverflow.com/questions/11321491/when-to-use-single-quotes-double-quotes-and-backticks-in-mysql


was (Author: stevel@apache.org):
the (internal) drop tables stuff won't be replaced. but the mysql branch will use backticks, that being what mysql requires.

> Move FederationQueryRunner to prepared statements
> -------------------------------------------------
>
>                 Key: YARN-11952
>                 URL: https://issues.apache.org/jira/browse/YARN-11952
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: federation
>    Affects Versions: 3.5.0, 3.4.3
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Minor
>
> It's bad style to use string formatting to build SQL, prepared statements are more robust.
> Use them across all actions in FederationQueryRunner



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org