blob: e6721eb4b4d2ea78e642a953ad0401e8168d783c [file] [log] [blame]
--! qt:dataset:srcpart
set hive.strict.checks.bucketing=false;
DROP VIEW xxx7;
CREATE VIEW xxx7
PARTITIONED ON (key)
AS
SELECT hr,key FROM srcpart;
SET hive.mapred.mode=strict;
-- strict mode should cause this to fail since view partition
-- predicate does not correspond to an underlying table partition predicate
ALTER VIEW xxx7 ADD PARTITION (key=10);