You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Yoonseok Woo (JIRA)" <ji...@apache.org> on 2014/07/31 11:01:55 UTC

[jira] [Updated] (HIVE-7568) Hive Cli cannot execute query from files when file has BOM character

     [ https://issues.apache.org/jira/browse/HIVE-7568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yoonseok Woo updated HIVE-7568:
-------------------------------

    Attachment: HIVE-7568.patch

> Hive Cli cannot execute query from files when file has BOM character
> --------------------------------------------------------------------
>
>                 Key: HIVE-7568
>                 URL: https://issues.apache.org/jira/browse/HIVE-7568
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Yoonseok Woo
>            Priority: Minor
>         Attachments: HIVE-7568.patch
>
>
> # query file with BOM
> {code:sql|title=test.sql|borderStyle=solid}
> <U+FEFF>select 1
> {code}
> # execute
> {code}
> $ bin/hive -f ./test.sql
> FAILED: ParseException line 1:0 character 'Ô' not supported here
> line 1:1 character 'ª' not supported here
> line 1:2 character 'Ø' not supported here
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)