You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Artem Ervits (JIRA)" <ji...@apache.org> on 2016/03/18 20:56:33 UTC

[jira] [Created] (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'

Artem Ervits created HIVE-13312:
-----------------------------------

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