hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erix Yao <>
Subject can I use hive dynamic partition while loading data into tables?
Date Fri, 15 Apr 2011 05:52:12 GMT
    The dynamic partition function is amazing ,but only works in insert
clause. Can I use it while loading data into table?

    For example: load data  LOAD DATA LOCAL INPATH
`/tmp/pv_2008-06-08_us.txt` INTO TABLE page_view
PARTITION(date='2008-06-08', country='US', type);
type is the dynamic partition key in the raw data?

This will be very cool! If is supported, I will not have to category the raw
data according to the type column.


View raw message