Update src/Processors/Transforms/FillingTransform.cpp

Co-authored-by: Igor Nikonov <954088+devcrafter@users.noreply.github.com>
This commit is contained in:
Kruglov Pavel 2024-03-21 14:19:17 +01:00 committed by GitHub
parent 0af1bb2eaa
commit 7db3d21ab7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -250,7 +250,7 @@ FillingTransform::FillingTransform(
if (!unique_positions.insert(pos).second)
throw Exception(ErrorCodes::INVALID_WITH_FILL_EXPRESSION, "Multiple WITH FILL for identical expressions is not supported in ORDER BY");
if (ordinary_sort_positions.contains(pos))
throw Exception(ErrorCodes::INVALID_WITH_FILL_EXPRESSION, "ORDER BY containing the same expression with and without WITH FILL is not supported");
throw Exception(ErrorCodes::INVALID_WITH_FILL_EXPRESSION, "ORDER BY containing the same expression with and without WITH FILL modifier is not supported");
}
if (use_with_fill_by_sorting_prefix)