<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Error creating partitioned external table using AvroSerDe in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-creating-partitioned-external-table-using-AvroSerDe/m-p/200407#M162428</link>
    <description>&lt;P&gt;Have an issue creating a table using the below DDL, please help!&lt;/P&gt;&lt;P&gt;DDL:&lt;/P&gt;&lt;PRE&gt;DROP TABLE IF EXISTS cm3rm1_test; CREATE EXTERNAL TABLE cm3rm1_test PARTITIONED BY (process_date string) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.avro.AvroSerDe'  STORED as INPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerInputFormat'  OUTPUTFORMAT 'org.apache.hadoop.hive.ql.io.avro.AvroContainerOutputFormat' LOCATION 'hdfs://xyz/cm3rm1'  TBLPROPERTIES ('avro.schema.url'='hdfs:///abc/AutoGeneratedSchema.avsc'); &lt;/PRE&gt;&lt;P&gt;trying to create the table using the above is resulting in an error. but works fine without partitioning. &lt;A rel="user" href="https://community.cloudera.com/users/1486/smanjee.html" nodeid="1486"&gt;@smanjee&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/12513/jknulst.html" nodeid="12513"&gt;@Jasper&lt;/A&gt; took this &lt;A href="https://community.hortonworks.com/questions/22135/is-there-a-way-to-create-hive-table-based-on-avro.html" target="_blank"&gt;https://community.hortonworks.com/questions/22135/is-there-a-way-to-create-hive-table-based-on-avro.html&lt;/A&gt; as a reference doesn't seem working for me. any suggestions, how to get this working? &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;PRE&gt;Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop.hive.ql.metadata.HiveException: Partition column name process_date conflicts with table columns. (state=08S01,code=1)
&lt;/PRE&gt;</description>
    <pubDate>Tue, 22 May 2018 09:58:42 GMT</pubDate>
    <dc:creator>adithya3838</dc:creator>
    <dc:date>2018-05-22T09:58:42Z</dc:date>
  </channel>
</rss>

