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

Popular posts from this blog

How to start daemon on android by adb -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

testing - Detect whether test has failed within fixture -