Skip to content

Commit

Permalink
chore: fix error message for unsupport legacy statements version (MIN…
Browse files Browse the repository at this point in the history
…OR) (#7419)
  • Loading branch information
vcrfxia authored Apr 23, 2021
1 parent 242fefb commit 69b51c7
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 @@ -307,7 +307,7 @@ private void terminateQuery(final PreparedStatement<TerminateQuery> terminateQue

private static void throwUnsupportedStatementError() {
throw new KsqlException("This version of ksqlDB does not support executing "
+ "statements submitted prior to ksqlDB 0.8.0 or Confluent Platform ksqlDB 5.0. "
+ "statements submitted prior to ksqlDB 0.8.0 or Confluent Platform ksqlDB 5.5. "
+ "Please see the upgrading guide to upgrade.");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ public void shouldThrowOnCreateSourceWithoutPlan() {
// Then
assertThat(e.getMessage(), containsString(
"This version of ksqlDB does not support executing statements submitted prior to ksqlDB "
+ "0.8.0 or Confluent Platform ksqlDB 5.0. Please see the upgrading guide to upgrade."));
+ "0.8.0 or Confluent Platform ksqlDB 5.5. Please see the upgrading guide to upgrade."));
}

@Test
Expand All @@ -515,7 +515,7 @@ public void shouldThrowOnCreateAsSelectWithoutPlan() {
// Then
assertThat(e.getMessage(), containsString(
"This version of ksqlDB does not support executing statements submitted prior to ksqlDB "
+ "0.8.0 or Confluent Platform ksqlDB 5.0. Please see the upgrading guide to upgrade."));
+ "0.8.0 or Confluent Platform ksqlDB 5.5. Please see the upgrading guide to upgrade."));
}

@Test
Expand All @@ -539,7 +539,7 @@ public void shouldThrowOnDropSourceWithoutPlan() {
// Then
assertThat(e.getMessage(), containsString(
"This version of ksqlDB does not support executing statements submitted prior to ksqlDB "
+ "0.8.0 or Confluent Platform ksqlDB 5.0. Please see the upgrading guide to upgrade."));
+ "0.8.0 or Confluent Platform ksqlDB 5.5. Please see the upgrading guide to upgrade."));
}

@Test
Expand Down

0 comments on commit 69b51c7

Please sign in to comment.