喜欢不在蜂巢上工作的操作员,该怎么办?

时间:2017-11-17 07:13:35

标签: hive hiveql

从取消中选择*,其中deduction_percentage如'%100%cancel charge%';

SemanticException [错误10014]:第1:27行错误的参数''%100%取消费用%'':类org.apache.hadoop.hive.ql.udf.UDFLike没有匹配的方法(数组,字符串) 。可能的选择: FUNC (字符串,字符串)

1 个答案:

答案 0 :(得分:0)

您的deduction_percentage看起来像数组数据类型。您编写的查询仅适用于字符串数据类型字段。

select * from cancel where concat_ws(',',deduction_percentage) like '%100% cancellation charge%';