Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/2500#discussion_r80237743
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/codegen/CodeGenerator.scala
---
@@ -545,7 +545,9 @@ class CodeGenerator(
generateInputAccess(input._1, input._2, index)
}
- override def visitFieldAccess(rexFieldAccess: RexFieldAccess):
GeneratedExpression = ???
+ override def visitFieldAccess(rexFieldAccess: RexFieldAccess):
GeneratedExpression =
+ throw new CodeGenException("The 'FieldAccess' feature is currently not
supported.")
--- End diff --
This error message might not be very helpful. It does not tell a user what
caused the problem and how it can be fixed. Would `"Nested field access is not
support yet"` be better?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---