Re: NULLable STRUCTs

2013-02-19 Thread Michael Malak
gt; From: Michael Malak > Subject: NULLable STRUCTs > To: user@hive.apache.org > Date: Friday, February 15, 2013, 5:03 PM > It seems that all Hive columns (at > least those of primitive types) are always NULLable?  > What about columns of type STRUCT? > > The following: >

NULLable STRUCTs

2013-02-15 Thread Michael Malak
It seems that all Hive columns (at least those of primitive types) are always NULLable? What about columns of type STRUCT? The following: echo 1,2 >twovalues.csv hive CREATE TABLE tc (x INT, y INT) ROW FORMAT DELIMITED FIELDS TERMINATED BY ','; LOAD DATA LOCAL INPATH 'twovalues.csv' INTO TABLE