zabetak commented on a change in pull request #1104: [CALCITE-2900] 
RewriteRexShuttle generates wrong type during flatten for structured type when 
visitInputRef
URL: https://github.com/apache/calcite/pull/1104#discussion_r265889245
 
 

 ##########
 File path: core/src/test/java/org/apache/calcite/test/BookstoreSchema.java
 ##########
 @@ -90,16 +96,50 @@ public Author(int aid, String name, Place birthPlace, 
List<Book> books) {
   /**
    */
   public static class Place {
-    public final Coordinate coords;
     public final String city;
     public final String country;
+    public final double elevationInMeters;
 
 Review comment:
   Out of curiosity why did you introduce elevationInMeters? City and country 
are fields at the same level; is to have different types?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to