hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Artem Ervits (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-13312) TABLESAMPLE with PERCENT throws FAILED: SemanticException 1:68 Percentage sampling is not supported in org.apache.hadoop.hive.ql.io.HiveInputFormat. Error encountered near token '20'
Date Fri, 18 Mar 2016 19:57:33 GMT

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

Artem Ervits updated HIVE-13312:
--------------------------------
    Description: 
FAILED: SemanticException 1:68 Percentage sampling is not supported in org.apache.hadoop.hive.ql.io.HiveInputFormat.
Error encountered near token '20'
when I execute

SELECT * FROM tablename TABLESAMPLE(20 percent);

tried with ORC and TEXT tables. Confirmed with Gopal, a temporary workaround is

set hive.tez.input.format=${hive.input.format};


  was:
FAILED: SemanticException 1:68 Percentage sampling is not supported in org.apache.hadoop.hive.ql.io.HiveInputFormat.
Error encountered near token '20'
when I execute

SELECT * FROM tablename TABLESAMPLE(20 percent);

tried with ORC and TEXT tables. Confirmed with Gopal, a temporary workaround is

set hive.tez.input.format=${hive.input.format};


> TABLESAMPLE with PERCENT throws FAILED: SemanticException 1:68 Percentage sampling is
not supported in org.apache.hadoop.hive.ql.io.HiveInputFormat. Error encountered near token
'20'
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-13312
>                 URL: https://issues.apache.org/jira/browse/HIVE-13312
>             Project: Hive
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 1.2.1
>            Reporter: Artem Ervits
>            Priority: Minor
>
> FAILED: SemanticException 1:68 Percentage sampling is not supported in org.apache.hadoop.hive.ql.io.HiveInputFormat.
Error encountered near token '20'
> when I execute
> SELECT * FROM tablename TABLESAMPLE(20 percent);
> tried with ORC and TEXT tables. Confirmed with Gopal, a temporary workaround is
> set hive.tez.input.format=${hive.input.format};



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message