Re: Unable to call the method when it clearly exists..

2016-05-12 Thread James Reeves
Yeah, from the docs it looks like parquet takes a string varargs, rather than just a string. Maybe that's what the "<>" on the end of "java.lang.String" means? - James On 13 May 2

Re: Unable to call the method when it clearly exists..

2016-05-12 Thread Sunil S Nandihalli
I was able to get over this problem by doing one of the following two ways of calling "parquet" function. (. inp-rdr (parquet (into-array java.lang.String [parq-path]))) (. inp-rdr (parquet (-> [parq-path] JavaConversions/asScalaBuffer .toList))) On Fri, May 13, 2016 at 10:01 AM, Sunil S Nandihal

Re: Unable to call the method when it clearly exists..

2016-05-12 Thread Sunil S Nandihalli
Just to add to the previous email, I have also tried (. inp-rdr-s (parquet (to-array '(parq-path)) but got the same error. Thanks Sunil. On Fri, May 13, 2016 at 9:55 AM, Sunil S Nandihalli < sunil.nandiha...@gmail.com> wrote: > Hi everybody, > I am trying to call function "parquet" on the var

Unable to call the method when it clearly exists..

2016-05-12 Thread Sunil S Nandihalli
Hi everybody, I am trying to call function "parquet" on the var "inp-rdr-s". From the following reflection output using clojure.reflect, it is clear that the method parquet exists. However I am unable to call the function. Can somebody help? Thanks and regards, Sunil bidland.core> (def parq-path