Uhm, this link
https://spark.apache.org/docs/latest/streaming-programming-guide.html#dataframe-and-sql-operations
seems to indicate you can do it.....

hth

On Mon, Nov 28, 2016 at 9:55 PM, Didac Gil <didacg...@gmail.com> wrote:

> Any suggestions for using something like OneHotEncoder and StringIndexer
> on an InputDStream?
>
> I could try to combine an Indexer based on a static parquet but I want to
> use the OneHotEncoder approach in Streaming data coming from a socket.
>
> Thanks!
>
> Dídac Gil de la Iglesia
>

Reply via email to