Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hemantgs committed Sep 4, 2020
1 parent 7f632d6 commit fa37637
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public CreateStreamCommand createStreamCommand(
final SourceName sourceName = statement.getName();
final DataSource dataSource = metaStore.getSource(sourceName);

if (dataSource != null) {
if (dataSource != null && !statement.isOrReplace()) {
final String sourceType = dataSource.getDataSourceType().getKsqlType();
if (!statement.isNotExists()) {
throw new KsqlException(
Expand Down

0 comments on commit fa37637

Please sign in to comment.