[
https://issues.apache.org/jira/browse/FLINK-35021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-35021:
-----------------------------------
Labels: pull-request-available (was: )
> 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)