Skip to content

Commit

Permalink
Enable pinot grpc by default
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangfu0 authored and highker committed Jun 24, 2022
1 parent 1ecf0c4 commit c13f510
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public class PinotConfig
// Requires Pinot version >= 0.4.0.
private boolean usePinotSqlForBrokerQueries = true;
// Requires Pinot version >= 0.6.0.
private boolean useStreamingForSegmentQueries;
private boolean useStreamingForSegmentQueries = true;
private int streamingServerGrpcMaxInboundMessageBytes = DEFAULT_STREAMING_SERVER_GRPC_MAX_INBOUND_MESSAGE_BYTES;

private int numSegmentsPerSplit = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void testDefaults()
.setIgnoreEmptyResponses(false)
.setUseDateTrunc(false)
.setForbidSegmentQueries(false)
.setUseStreamingForSegmentQueries(false)
.setUseStreamingForSegmentQueries(true)
.setStreamingServerGrpcMaxInboundMessageBytes(PinotConfig.DEFAULT_STREAMING_SERVER_GRPC_MAX_INBOUND_MESSAGE_BYTES)
.setNonAggregateLimitForBrokerQueries(PinotConfig.DEFAULT_NON_AGGREGATE_LIMIT_FOR_BROKER_QUERIES)
.setUseDateTrunc(false));
Expand Down Expand Up @@ -117,7 +117,7 @@ public void testExplicitPropertyMappings()
.put("pinot.pushdown-topn-broker-queries", "false")
.put("pinot.pushdown-project-expressions", "false")
.put("pinot.forbid-segment-queries", "true")
.put("pinot.use-streaming-for-segment-queries", "true")
.put("pinot.use-streaming-for-segment-queries", "false")
.put("pinot.streaming-server-grpc-max-inbound-message-bytes", "65536")
.put("pinot.secure-connection", "true")
.put("pinot.override-distinct-count-function", "distinctCountBitmap")
Expand Down Expand Up @@ -165,7 +165,7 @@ public void testExplicitPropertyMappings()
.setPushdownTopNBrokerQueries(false)
.setPushdownProjectExpressions(false)
.setForbidSegmentQueries(true)
.setUseStreamingForSegmentQueries(true)
.setUseStreamingForSegmentQueries(false)
.setStreamingServerGrpcMaxInboundMessageBytes(65536)
.setUseDateTrunc(true)
.setUseProxy(true)
Expand Down

0 comments on commit c13f510

Please sign in to comment.