Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/2919#discussion_r91106487
--- Diff: docs/dev/table_api.md ---
@@ -1470,7 +1470,14 @@ The Table API is built on top of Flink's DataSet and
DataStream API. Internally,
| `Types.INTERVAL_MONTHS`| `INTERVAL YEAR TO MONTH` |
`java.lang.Integer` |
| `Types.INTERVAL_MILLIS`| `INTERVAL DAY TO SECOND(3)` | `java.lang.Long`
|
-Advanced types such as generic types, composite types (e.g. POJOs or
Tuples), and arrays can be fields of a row. Generic types and arrays are
treated as a black box within Table API and SQL yet. Composite types, however,
are fully supported types where fields of a composite type can be accessed
using the `.get()` operator in Table API and dot operator (e.g.
`MyTable.pojoColumn.myField`) in SQL. Composite types can also be flattened
using `.flatten()` in Table API or `MyTable.pojoColumn.*` in SQL.
+
+Advanced types such as generic types, composite types (e.g. POJOs or
Tuples), and array types (object or primitive arrays) can be fields of a row.
+
+Generic types are treated as a black box within Table API and SQL yet.
+
+Composite types, however, are fully supported types where fields of a
composite type can be accessed using the `.get()` operator in Table API and dot
operator (e.g. `MyTable.pojoColumn.myField`) in SQL. Composite types can also
be flattened using `.flatten()` in Table API or `MyTable.pojoColumn.*` in SQL.
+
+Array types can be access using the `myArray.at(1)` operator in Table API
and `myArray[1]` operator in SQL. Array literals can be created using `array(1,
2, 3)` in Table API and `ARRAY[1, 2, 3]` in SQL.
--- End diff --
`can be access` -> `can be accessed`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---