Re: How to create Row with RowTypeInfo

2019-07-14 Thread Caizhi Weng
I forget to add the user mailing list in the response. I now add user mailing list to the response in case other users might want to solve this problem too... Soheil Pourbafrani 于2019年7月15日周一 上午2:56写道: > Great! > I got it > > Thanks > > On Sun, Jul 14, 2019 at 8:26 PM Caizhi Weng wrote: > >> Hi

How to create Row with RowTypeInfo

2019-07-13 Thread Soheil Pourbafrani
Hi Creating a new DataSet of type Row, how can I the RowTypeInfo of the row? For example when I create a new dataset like the following: Row row = Row.of(1, new Timestamp(1), new Date(1)); System.out.println(env.fromElements(row).getType()); it results in: Row(f0: Integer, f1: Timestamp, f2: Da