[ 
https://issues.apache.org/jira/browse/FLINK-35021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dawid Wysakowicz closed FLINK-35021.
------------------------------------
    Resolution: Fixed

Fixed in 77215aaf6ca7ccbff7bd3752e59068ac9956d549

> AggregateQueryOperations produces wrong asSerializableString representation
> ---------------------------------------------------------------------------
>
>                 Key: FLINK-35021
>                 URL: https://issues.apache.org/jira/browse/FLINK-35021
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / API
>    Affects Versions: 1.19.0
>            Reporter: Dawid Wysakowicz
>            Assignee: Dawid Wysakowicz
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.20.0
>
>
> A table API query:
> {code}
>         env.fromValues(1, 2, 3)
>                 .as("number")
>                 .select(col("number").count())
>                 .insertInto(TEST_TABLE_API)
> {code}
> produces
> {code}
> INSERT INTO `default`.`timo_eu_west_1`.`table_api_basic_api` SELECT `EXPR$0` 
> FROM (
>     SELECT (COUNT(`number`)) AS `EXPR$0` FROM (
>         SELECT `f0` AS `number` FROM (
>             SELECT `f0` FROM (VALUES 
>                 (1),
>                 (2),
>                 (3)
>             ) VAL$0(`f0`)
>         )
>     )
>     GROUP BY 
> )
> {code}
> which is missing a grouping expression



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to