Re: From C* to DataFrames with JSON

2017-02-11 Thread Takeshi Yamamuro
If you upgrade to v2.1, you can use to_json/from_json in sql.functions. On Fri, Feb 10, 2017 at 3:12 PM, Jean-Francois Gosselin < jfgosse...@gmail.com> wrote: > > Hi all, > > I'm struggling (Spark / Scala newbie) to create a DataFrame from a C* > table but also create a DataFrame from column

From C* to DataFrames with JSON

2017-02-09 Thread Jean-Francois Gosselin
Hi all, I'm struggling (Spark / Scala newbie) to create a DataFrame from a C* table but also create a DataFrame from column with json . e.g. From C* table | id | jsonData | == | 1 | {"a": "123", "b": "xyz" } | +--+---+ | 2 |