Hive will consider a view updatable if:
When inserting into a view:
Given
create table t1 (id int, key string, value string) partitioned by (ds string, hr string); create view v partitioned on (ds, hr) as select id, value, ds, hr from t1; |
we can insert into v where NULL will be used for key.
Notes:
See Hive Views for general information about views.