Github user suez1224 commented on the issue: https://github.com/apache/flink/pull/5367 @hequn8128 @twalthr could you please take another look? I've refactored the code to reuse the generateFieldAccess() code, also added null test. Nested tuple wont work now due to https://issues.apache.org/jira/browse/CALCITE-2162. I've submitted a PR to fix it in Calcite.
---