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

sql - invalid in the select list because it is not contained in either an aggregate function -

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

How to start daemon on android by adb -