Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
1.3.0
-
None
-
None
Description
The code example uses
TypeInformation<Row> typeInfo = Types.ROW( new String[] { "id", "name", "score" }, new TypeInformation<?>[] { Types.INT(), Types.STRING(), Types.DOUBLE() } );
the correct way of using it is something like
TypeInformation<Row> typeInfo = Types.ROW_NAMED( new String[] { "id", "zip", "date" }, Types.LONG, Types.INT, Types.SQL_DATE);
Attachments
Issue Links
- links to