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

AbotX : How do you create a parallel crawler that stays on and can be added to at run time from new requests -

testing - Detect whether test has failed within fixture -

android - Create single AAR file from multiple modules using Gradle -