Re: Get nested Rows from Json string

2019-02-19 Thread françois lacombe
Hi Rong, Thank you for JIRA. Understood it may be solved in a next release, I'll comment the ticket in case of further input All the best François Le sam. 9 févr. 2019 à 00:57, Rong Rong a écrit : > Hi François, > > I just did some research and seems like this is in fact a Stringify issue. >

Re: Get nested Rows from Json string

2019-02-08 Thread Rong Rong
Hi François, I just did some research and seems like this is in fact a Stringify issue. If you try running one of the AvroRowDeSerializationSchemaTest [1], you will find out that only MAP, ARRAY are correctly stringify (Map using "{}" quote and Array using "[]" quote). However nested records are n

Re: Get nested Rows from Json string

2019-02-08 Thread françois lacombe
Hi Rong, Thank you for this answer. I've changed Rows to Map, which ease the conversion process. Nevertheless I'm interested in any explanation about why row1.setField(i, row2) appeends row2 at the end of row1. All the best François Le mer. 6 févr. 2019 à 19:33, Rong Rong a écrit : > Hi Fran

Re: Get nested Rows from Json string

2019-02-06 Thread Rong Rong
Hi François, I wasn't exactly sure this is a JSON object or JSON string you are trying to process. For a JSON string this [1] article might help. For a JSON object, I am assuming you are trying to convert it into a TableSource and processing using Table/SQL API, you could probably use the example