Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -71,7 +71,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 @@ -115,7 +115,7 @@ public void testExplicitPropertyMappings()
.put("pinot.limit-large-for-segment", "100")
.put("pinot.pushdown-topn-broker-queries", "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 @@ -162,7 +162,7 @@ public void testExplicitPropertyMappings()
.setLimitLargeForSegment(100)
.setPushdownTopNBrokerQueries(false)
.setForbidSegmentQueries(true)
.setUseStreamingForSegmentQueries(true)
.setUseStreamingForSegmentQueries(false)
.setStreamingServerGrpcMaxInboundMessageBytes(65536)
.setUseDateTrunc(true)
.setUseProxy(true)
Expand Down