Saving all output to "!!{outputDirectory}!!/part_inherit_tbl_props.q.raw". Enter "record" with no arguments to stop it. >>> !run !!{qFileDirectory}!!/part_inherit_tbl_props.q >>> set hive.metastore.partition.inherit.table.properties=a,b; No rows affected >>> -- The property needs to be unset at the end of the test till HIVE-3109/HIVE-3112 is fixed >>> >>> create table mytbl (c1 tinyint) partitioned by (c2 string) tblproperties ('a'='myval','b'='yourval','c'='noval'); No rows affected >>> alter table mytbl add partition (c2 = 'v1'); No rows affected >>> describe formatted mytbl partition (c2='v1'); 'col_name','data_type','comment' '# col_name ','data_type ','comment ' '','','' 'c1 ','tinyint ','None ' '','','' '# Partition Information','','' '# col_name ','data_type ','comment ' '','','' 'c2 ','string ','None ' '','','' '# Detailed Partition Information','','' 'Partition Value: ','[v1] ','' 'Database: ','part_inherit_tbl_props','' 'Table: ','mytbl ','' 'CreateTime: ','!!TIMESTAMP!!','' 'LastAccessTime: ','UNKNOWN ','' 'Protect Mode: ','None ','' 'Location: ','!!{hive.metastore.warehouse.dir}!!/part_inherit_tbl_props.db/mytbl/c2=v1','' 'Partition Parameters:','','' '','a ','myval ' '','b ','yourval ' '','transient_lastDdlTime','!!UNIXTIME!! ' '','','' '# Storage Information','','' 'SerDe Library: ','org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe','' 'InputFormat: ','org.apache.hadoop.mapred.TextInputFormat','' 'OutputFormat: ','org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat','' 'Compressed: ','No ','' 'Num Buckets: ','-1 ','' 'Bucket Columns: ','[] ','' 'Sort Columns: ','[] ','' 'Storage Desc Params:','','' '','serialization.format','1 ' 32 rows selected >>> >>> set hive.metastore.partition.inherit.table.properties=; No rows affected >>> !record