You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Timo Walther (JIRA)" <ji...@apache.org> on 2017/01/27 13:30:24 UTC

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

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)