Created 02-10-2016 09:06 AM
Hello, DW guy learning hadoop.
I wanted to understand what are the full list of TBLPROPERTIES that are predefined in Hive and available for use? Couldnt find it in the Hive Manual. Thanks for the help
Created 02-10-2016 09:09 AM
See this https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL
The TBLPROPERTIES clause allows you to tag the table definition with your own metadata key/value pairs. Some predefined table properties also exist, such as last_modified_user and last_modified_time which are automatically added and managed by Hive. Other predefined table properties include:
Created 02-10-2016 10:22 AM
You can read the source code https://github.com/apache/hive/tree/master/ql/src/java/org/apache/hadoop/hive/ql
Created 02-10-2016 10:38 AM
@Artem Ervits - this is the way then, Thank you! - I will explore further now.
Created 04-15-2016 05:58 PM
As far as I understand, tblproperties is just a list of key/value pairs. You can specify whatever you want on it (even if it's not predefined, e.g. 'weather'='warm'). But of course there must be code logic that interprets your tblproperties and do something, otherwise it's useless.