hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Namit Jain <nj...@fb.com>
Subject partitioned views
Date Thu, 09 Feb 2012 22:18:46 GMT
We found a bug recently, that partitioned views do not have storage descriptors.

https://issues.apache.org/jira/browse/HIVE-2795

We will fix this bug, but the existing data needs to be upgraded (if you really care about
the describe output
of a view partition). It seems fairly difficult to come up with a sql script to change the
existing data.

One other way to fix this problem would be to list all view partitions and then add them again
after the
patch. For all partitions p of view v:

alter view v drop partition p;
alter view v add partition p;


How many people are using partitioned views ? Is the above solution OK for them ?


Thanks,
-namit

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message