spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexeys <>
Subject VectorUDT with
Date Tue, 16 Aug 2016 16:48:07 GMT
I am writing an UDAF to be applied to a data frame column of type Vector
( I rely on spark/ml/linalg so that I do not have to
go back and forth between dataframe and RDD. 

Inside the UDAF, I have to specify a data type for the input, buffer, and
output (as usual). VectorUDT is what I would use with

However, when I try to import it from instead: import 
I get a runtime error (no errors during the build): 

class VectorUDT in package linalg cannot be accessed in package 

Is it expected/can you suggest a workaround? 

I am using Spark 2.0.0


View this message in context:
Sent from the Apache Spark User List mailing list archive at

To unsubscribe e-mail:

View raw message