flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sendoh <unicorn.bana...@gmail.com>
Subject deserilize nested json
Date Fri, 08 Dec 2017 11:33:03 GMT
Hi Flink users,

Would it be possible to deserialize nested json by providing
TypeInformation? or should we transform nested json to plain json?

final TypeInformation<Row> typeInformation = Types.ROW(
				new String[] {"orderNumber", "sales", "country"},
				new TypeInformation<?>[] { Types.STRING(), Types.DOUBLE(), Types.INT()}
		);

Cheers,

Sendoh



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/

Mime
View raw message