You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2022/07/03 06:52:56 UTC

[GitHub] [calcite] libenchao commented on a diff in pull request #2843: [CALCITE-5178] Single column with ROW type generates wrong plan

libenchao commented on code in PR #2843:
URL: https://github.com/apache/calcite/pull/2843#discussion_r912439911


##########
core/src/main/java/org/apache/calcite/adapter/enumerable/JavaRowFormat.java:
##########
@@ -82,6 +83,11 @@ public enum JavaRowFormat {
         JavaTypeFactory typeFactory,
         RelDataType type) {
       assert type.getFieldCount() == 1;
+      RelDataType field0Type = type.getFieldList().get(0).getType();

Review Comment:
   @JiajunBernoulli Thanks for your review. I don't have a preference for either way actually.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@calcite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org