You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sankar Hariappan (JIRA)" <ji...@apache.org> on 2017/12/12 18:52:03 UTC

[jira] [Comment Edited] (HIVE-18112) show create for view having special char in where clause is not showing properly

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

Sankar Hariappan edited comment on HIVE-18112 at 12/12/17 6:52 PM:
-------------------------------------------------------------------

[~nareshpr]

I think the similar bug is there for Tables as well and I saw it is fixed in apache/master. Please check it.


was (Author: sankarh):
[~nareshpr]
+1

I think the similar bug is there for Tables as well and I saw it is fixed in apache/master. Please check it.

> show create for view having special char in where clause is not showing properly
> --------------------------------------------------------------------------------
>
>                 Key: HIVE-18112
>                 URL: https://issues.apache.org/jira/browse/HIVE-18112
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Naresh P R
>            Assignee: Naresh P R
>            Priority: Minor
>             Fix For: 2.2.0
>
>         Attachments: HIVE-18112-branch-2.2.patch, HIVE-18112.1-branch-2.2.patch
>
>
> e.g., 
> CREATE VIEW `v2` AS select `evil_byte1`.`a` from `default`.`EVIL_BYTE1` where `evil_byte1`.`a` = 'abcÖdefÖgh';
> Output:
> ======
> 0: jdbc:hive2://172.26.122.227:10000> show create table v2;
> +----------------------------------------------------------------------------------------------------------------+--+
> |                                                 createtab_stmt                                                 |
> +----------------------------------------------------------------------------------------------------------------+--+
> | CREATE VIEW `v2` AS select `evil_byte1`.`a` from `default`.`EVIL_BYTE1` where `evil_byte1`.`a` = 'abc�def�gh'  |
> +----------------------------------------------------------------------------------------------------------------+--+
> Only show create output is having invalid characters, actual source table content is displayed properly in the console.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)