wuyunfeng commented on a change in pull request #1529: [CALCITE-3442] In 
ElasticSearch adapter, set `stored_fields = _none_` to prohibit FetchPhase get 
involved 
URL: https://github.com/apache/calcite/pull/1529#discussion_r339446857
 
 

 ##########
 File path: 
elasticsearch/src/test/java/org/apache/calcite/adapter/elasticsearch/AggregationTest.java
 ##########
 @@ -117,7 +117,7 @@ public void countStar() {
         .query("select count(*) from view")
         .queryContains(
             ElasticsearchChecker.elasticsearchChecker(
-                "_source:false, size:0, track_total_hits:true"))
+                "_source:false, 'stored_fields': '_none_', size:0,  
track_total_hits:true"))
         .returns("EXPR$0=3\n");
 
 Review comment:
   done

----------------------------------------------------------------
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