我加入兩個文件。一個文件是從table(in0 port)
提取的,具有如此的記錄格式utf8 string("\x01", maximum_length=3)
。
而另一個文件是正常的text file(in1 port)
,其記錄格式如此ascii string(3)
。加入兩個文件時字符串不匹配錯誤
雖然加入我得到以下錯誤AM:
Field "company" in key specifier for input in1 has type "ascii string(3)",
but field "kg3_company_cd" in key specifier for input in0 has type "utf8 string("\x01", maximum_length=3)".
This join may be attempted in spite of the type mismatch by
setting configuration variable AB_ALLOW_DANGEROUS_KEY_CASTING to true.
However, typically the input streams will have been hash-partitioned on
the join keys of different types, making it unlikely that all equal join.
是什麼你的問題? – chanchal1987 2014-11-17 10:11:32