Re: UDTRegistration (in Java)

2016-08-23 Thread raghukiran
Well, it is perplexing - as I am able to simply call UDTRegistration from
Java. And maybe it is not working properly? I was able to put in a
class/String through the register function. And when I call exists(..) it
returns true. So, it appears to work, but has issues :-)

Regards,
Raghu



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/UDTRegistration-in-Java-tp27579p27587.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

-
To unsubscribe e-mail: user-unsubscr...@spark.apache.org



UDTRegistration (in Java)

2016-08-22 Thread raghukiran
Hi,

After moving to Spark 2.0, the UDTRegistration is giving me some issues. I
am trying the following (in Java):

UDTRegistration.register(userclassName, udtclassName);

After this, when I try creating a DataFrame, it throws an exception
that the userclassName is not registered. Can anyone point me to what I am
missing?

Regards,
Raghu



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/UDTRegistration-in-Java-tp27579.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

-
To unsubscribe e-mail: user-unsubscr...@spark.apache.org