I stopped asking long time ago why things are private in spark... I mean... The conversion between ml and mllib vectors is private... the conversion between spark vector and breeze used to be (or still is?) private. it just goes on. Lots of useful stuff is private[SQL].
Luckily there are simple ways to get around these visibility restrictions On Mar 29, 2017 22:57, "Ryan" <ryan.hd....@gmail.com> wrote: > I'm writing a transformer and the input column is vector type(which is the > output column from other transformer). But as the VectorUDT is private, how > could I check/transform schema for the vector column? >