You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Will Du (JIRA)" <ji...@apache.org> on 2015/02/09 21:49:36 UTC

[jira] [Created] (HIVE-9626) Hive CREATE table failed using regular experssion serde

Will Du created HIVE-9626:
-----------------------------

             Summary: Hive CREATE table failed using regular experssion serde
                 Key: HIVE-9626
                 URL: https://issues.apache.org/jira/browse/HIVE-9626
             Project: Hive
          Issue Type: Bug
          Components: Parser
    Affects Versions: 1.0.0
         Environment: Apache Hive 1.0.0
            Reporter: Will Du


Run the below CREATE table statement is successful in Hive 0.13.0 and 0.14.0. However, it is failed in the 1.0.0 of Hive.
CREATE TABLE test_serde_rex(
name string,
sex string,
age string
)
ROW FORMAT SERDE
'org.apache.hadoop.hive.contrib.serde2.RegexSerDe'
WITH SERDEPROPERTIES(
'input.regex' = '([^;]*);([^;]*);([^;]*)',
'output.format.string' = '%1$s %2$s %3$s'
)
STORED AS TEXTFILE;

The exception in Hive 1.0.0 is




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