Invalidation table creation

this is my query on the DB2 database:

CREATE TABLE MY_TABLE                                                 
      (COD_SOC              CHAR(5)  NOT NULL); 

      

Is it possible to reproduce "NOT NULL" in HIVE? How about PIG?

+3


source to share


1 answer


This is currently not possible. It would be very difficult for Hive to enforce column constraints.



+5


source







All Articles