pass entire row as parameter in hive UDF

2011-10-31 Thread Chen Song
Hi All In HIVE, I would like to write a UDF that accepts a sequence of parameters. Due to that the number of parameters is large and the particular function that I am writing is specific to a set of tables (joined in some way in the SQL), I am wondering if there is a way to pass the entire row

Re: pass entire row as parameter in hive UDF

2011-11-01 Thread Chen Song
Can this be only used in regular select statement or also as arguments to UDF? In this case, how shall I define my UDF/GenericUDF method signature to accept column in this form? Will Hive automatically expand the column list and pass them to customized UDF? If there is any example, that would

Re: size of RCFile in hive

2012-09-26 Thread Chen Song
le select . > > > the settings: > hive.merge.mapfiles=true > hive.merge.mapredfiles=true > hive.merge.size.per.task=64000 > hive.merge.size.smallfiles.avgsize=8000 > didn't work. > > > who could tell me how to solve it? -- Chen Song