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

Dian Fu edited comment on FLINK-27159 at 6/15/22 5:46 AM:
----------------------------------------------------------

[~csq] BTW, there are also many other built-in functions not supported besides 
first_value/last_value. See 
https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/functions/systemfunctions/
 for more details. There are two columns: *SQL Function* and *Table Function*, 
if a function is not supported in Table API, the *Table Function* column is 
documented as *N/A*. Are you interested in also supporting the others? 


was (Author: dianfu):
[~csq] BTW, there are also many other built-in functions not supported besides 
first_value/last_value(See 
https://nightlies.apache.org/flink/flink-docs-master/docs/dev/table/functions/systemfunctions/
 for more details. There are two columns: *SQL Function* and *Table Function*, 
if a function is not supported in Table API, the *Table Function* column is 
documented as *N/A*). Are you interested in also supporting the others? 

> Support first_value/last_value in the Table API
> -----------------------------------------------
>
>                 Key: FLINK-27159
>                 URL: https://issues.apache.org/jira/browse/FLINK-27159
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table SQL / API
>            Reporter: Huang Xingbo
>            Assignee: Shuiqiang Chen
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, first_value/last_value are not supported in Table API.
> {code:python}
> table.group_by(col("a"))
>        .select(
>               col("a"),
>               call("FIRST_VALUE", col("b")))
> {code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to