Skip to content

Commit

Permalink
[FLINK-17339][sql-client] Change default planner to blink.
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtYoung committed Apr 26, 2020
1 parent 04c52f8 commit 2421f94
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public EnvironmentSettings getEnvironmentSettings() {
}

final String planner = properties.getOptionalString(EXECUTION_PLANNER)
.orElse(EXECUTION_PLANNER_VALUE_OLD);
.orElse(EXECUTION_PLANNER_VALUE_BLINK);

if (planner.equals(EXECUTION_PLANNER_VALUE_OLD)) {
builder.useOldPlanner();
Expand All @@ -200,7 +200,7 @@ public boolean inBatchMode() {

public boolean isStreamingPlanner() {
final String planner = properties.getOptionalString(EXECUTION_PLANNER)
.orElse(EXECUTION_PLANNER_VALUE_OLD);
.orElse(EXECUTION_PLANNER_VALUE_BLINK);

// Blink planner is a streaming planner
if (planner.equals(EXECUTION_PLANNER_VALUE_BLINK)) {
Expand All @@ -216,7 +216,7 @@ else if (planner.equals(EXECUTION_PLANNER_VALUE_OLD)) {

public boolean isBatchPlanner() {
final String planner = properties.getOptionalString(EXECUTION_PLANNER)
.orElse(EXECUTION_PLANNER_VALUE_OLD);
.orElse(EXECUTION_PLANNER_VALUE_BLINK);

// Blink planner is not a batch planner
if (planner.equals(EXECUTION_PLANNER_VALUE_BLINK)) {
Expand Down

0 comments on commit 2421f94

Please sign in to comment.