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?
This is currently not possible. It would be very difficult for Hive to enforce column constraints.