-- This test verifies writing a query using dynamic partitions -- which results in no partitions actually being created with -- hive.stats.reliable set to true create table tmptable(key string) partitioned by (part string); set hive.stats.autogather=true; set hive.stats.reliable=true; set hive.exec.dynamic.partition.mode=nonstrict; explain insert overwrite table tmptable partition (part) select key, value from src where key = 'no_such_value'; insert overwrite table tmptable partition (part) select key, value from src where key = 'no_such_value';