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 2020/07/07 03:15:28 UTC

[GitHub] [calcite] FatLittle commented on a change in pull request #1991: [CALCITE-3916] Support top-down rule apply and upper bound space pruning

FatLittle commented on a change in pull request #1991:
URL: https://github.com/apache/calcite/pull/1991#discussion_r450588566



##########
File path: cassandra/src/test/java/org/apache/calcite/test/CassandraAdapterTest.java
##########
@@ -100,8 +100,8 @@ static void load(Session session) {
         .returns("tweet_id=f3c329de-d05b-11e5-b58b-90e2ba530b12\n"
                + "tweet_id=f3dbb03a-d05b-11e5-b58b-90e2ba530b12\n")
         .explainContains("PLAN=CassandraToEnumerableConverter\n"
-                + "  CassandraLimit(fetch=[2])\n"
-                + "    CassandraProject(tweet_id=[$2])\n"
+                + "  CassandraProject(tweet_id=[$2])\n"
+                + "    CassandraLimit(fetch=[2])\n"
                 + "      CassandraFilter(condition=[=($0, '!PUBLIC!')])\n");
   }

Review comment:
       yes, the costs are the same. However, I do think in most case the new plan is better. 




----------------------------------------------------------------
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:
users@infra.apache.org