remove duplicate lines

This commit is contained in:
Vxider 2022-06-10 18:58:53 +00:00
parent b09dbeed77
commit ea2375ffc5

View File

@ -1165,9 +1165,6 @@ StorageWindowView::StorageWindowView(
storage_metadata.setColumns(columns_);
setInMemoryMetadata(storage_metadata);
if (!query.select)
throw Exception(ErrorCodes::INCORRECT_QUERY, "SELECT query is not specified for {}", getName());
/// If the target table is not set, use inner target table
has_inner_target_table = query.to_table_id.empty();
if (has_inner_target_table && !query.storage)