我試圖來連接表的兩列,其中之一是string
(charray
),另一種是元組的包:串聯chararray Apache中的豬的元組包
t1 = GROUP K by domain;
t2 = FOREACH t1 GENERATE CONCAT(t1.group, '\t', t1.K);
然而,我得到一個錯誤:
Could not infer the matching function for org.apache.pig.builtin.CONCAT as multiple or none of them fit. Please use an explicit cast.
不知道使用什麼。有人可以幫忙嗎?