The number is an id we used internally to identify an resolved Attribute. Looks like basic_null_diluted_d was not resolved since there is no id associated with it.
On Tue, Mar 17, 2015 at 2:08 PM, Ophir Cohen <[email protected]> wrote: > Interesting, I thought the problem is with the method itself. > I will check it soon and update. > Can you elaborate what does it mean the # and the number? Is that a > reference to the field in the rdd? > Thank you, > Ophir > On Mar 17, 2015 7:06 PM, "Yin Huai" <[email protected]> wrote: > >> Seems "basic_null_diluted_d" was not resolved? Can you check if >> basic_null_diluted_d is in you table? >> >> On Tue, Mar 17, 2015 at 9:34 AM, Ophir Cohen <[email protected]> wrote: >> >>> Hi Guys, >>> I'm registering a function using: >>> sqlc.registerFunction("makeEstEntry",ReutersDataFunctions.makeEstEntry _) >>> >>> Then I register the table and try to query the table using that function >>> and I get: >>> org.apache.spark.sql.catalyst.errors.package$TreeNodeException: >>> Unresolved attributes: >>> 'makeEstEntry(numest#20,median#21,mean#22,stddev#23,high#24,low#25,currency_#26,units#27,'basic_null_diluted_d) >>> AS FY0#2837, tree: >>> >>> Thanks! >>> Ophir >>> >> >>
