You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Aaron Dossett (JIRA)" <ji...@apache.org> on 2015/12/21 20:59:46 UTC
[jira] [Created] (ATLAS-409) Atlas will not import hive tables with
no columns
Aaron Dossett created ATLAS-409:
-----------------------------------
Summary: Atlas will not import hive tables with no columns
Key: ATLAS-409
URL: https://issues.apache.org/jira/browse/ATLAS-409
Project: Atlas
Issue Type: Bug
Affects Versions: 0.6-incubating
Reporter: Aaron Dossett
Atlas won't import a Hive table with no columns (see below for an example of a valid hive table with no explicit columns). This is because the Atlas Hive Storage Descriptor class REQUIRES columns, but the Hive Table class allows them to be OPTIONAL.
{code}
CREATE TABLE example
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'
TBLPROPERTIES (
'avro.schema.literal'='${hiveconf:schema}');
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)