[jira] [Created] (FLINK-5676) Grouping on nested fields does not work

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-5676) Grouping on nested fields does not work

Shang Yuanchun (Jira)
Timo Walther created FLINK-5676:
-----------------------------------

             Summary: Grouping on nested fields does not work
                 Key: FLINK-5676
                 URL: https://issues.apache.org/jira/browse/FLINK-5676
             Project: Flink
          Issue Type: Bug
          Components: Table API & SQL
            Reporter: Timo Walther


{code}
tEnv
  .fromDataSet(pojoWithinnerPojo)
  .groupBy("innerPojo.get('line')")
  .select("innerPojo.get('line')")
{code}

fails with

{code}
ValidationException: Cannot resolve [innerPojo] given input ['innerPojo.get(line)].
{code}

I don't know if we want to support that but the exception should be more helpful anyway.



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