hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Franklin Hu" <frank...@fb.com>
Subject Review Request: HIVE-2360 create dynamic partition iff intermediate source has files
Date Tue, 09 Aug 2011 23:31:26 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/1442/
-----------------------------------------------------------

Review request for hive, Ning Zhang and Siying Dong.


Summary
-------

There are some conditions under which partition descriptions are created in memory and committed
to the metastore despite there being no intermediate or final finals in that directory (due
to dynamic partitioning).
In this change, a check is done to only call loadPartitions that have files in them.


This addresses bug HIVE-2360.
    https://issues.apache.org/jira/browse/HIVE-2360


Diffs
-----

  trunk/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java 1155968 

Diff: https://reviews.apache.org/r/1442/diff


Testing
-------

Unit tests pass


Thanks,

Franklin


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