[ 
https://issues.apache.org/jira/browse/FLINK-4554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15726109#comment-15726109
 ] 

ASF GitHub Bot commented on FLINK-4554:
---------------------------------------

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`


> Add support for array types
> ---------------------------
>
>                 Key: FLINK-4554
>                 URL: https://issues.apache.org/jira/browse/FLINK-4554
>             Project: Flink
>          Issue Type: New Feature
>          Components: Table API & SQL
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>
> Support creating arrays:
> {code}ARRAY[1, 2, 3]{code}
> Access array values:
> {code}myArray[3]{code}
> And operations like:
> {{UNNEST, UNNEST WITH ORDINALITY, CARDINALITY}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to