You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/05/14 09:42:00 UTC

[jira] [Commented] (NIFI-7448) PutORC quotes fully-qualified table names but should quote each part

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

ASF subversion and git services commented on NIFI-7448:
-------------------------------------------------------

Commit 53a161234e651c9b5259723d5ffc986cc6eab7dd in nifi's branch refs/heads/master from Matt Burgess
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=53a1612 ]

NIFI-7448: Fix quoting of DDL table name in PutORC

Signed-off-by: Pierre Villard <pi...@gmail.com>

This closes #4269.


> PutORC quotes fully-qualified table names but should quote each part
> --------------------------------------------------------------------
>
>                 Key: NIFI-7448
>                 URL: https://issues.apache.org/jira/browse/NIFI-7448
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Matt Burgess
>            Assignee: Matt Burgess
>            Priority: Major
>
> NIFI-5667 introduced quoting of the table name in the DDL generated by PutORC, but it quotes the entire value of the Table Name property. In cases where the table name is qualified by a database name (for example, mydb.mytable), this causes a parsing error as `mydb.mytable` should be `mydb`.`mytable.
> PutORC should parse the table name, splitting on "." and quoting each section.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)