spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 颜发才(Yan Facai) <>
Subject Vector is not found in case class after import
Date Fri, 04 Nov 2016 08:43:02 GMT
My spark-shell version is 2.0.1.

I import the Vector and hope to use it in case class, while spark-shell
throws an error: not found.

scala> import{Vector => OldVector}

scala> case class Movie(vec: OldVector)
<console>:11: error: not found: type OldVector
       case class Movie(vec: OldVector)

Is it a bug?

View raw message