Package brickhouse.udf.dcache

Class Summary
DistributedMapUDF UDF to access a distributed map file Assumes the file is a tab-separated file of name-value pairs, which has been placed in distributed cache using the "add file" command Example INSERT OVERWRITE LOCAL DIRECTORY mymap select key,value from my_map_table; ADD FILE mymap; select key, val* distributed_map( key, 'mymap') from the_table; If one argument is passed in, it is assumed to be a filename, containing a map of type map, and the entire map is returned.
 



Copyright © 2013. All rights reserved.