hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Navis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7568) Hive Cli cannot execute query from files when file has BOM character
Date Fri, 01 Aug 2014 03:35:38 GMT

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

Navis commented on HIVE-7568:
-----------------------------

Could you do this for beeline, too?

> 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
>            Assignee: 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)

Mime
View raw message