hadoop - Hive : reflect function -
im trying use reflect function of hive have signature :
reflect(class, method[, arg1[, arg2..]])
i want ckeck if column c
value hello world !
contains world
, wrote :
with (select "hello world !" c) select reflect("java.lang.string",c ,"contains", "world")
but didnt work because not respect signature, tried
with (select "hello world !" c) select reflect(reflect("java.lang.object","tostring",c) ,"contains", "world")
it didnt work ! want know how apply reflect
function on given column ?
Comments
Post a Comment