Skip to content

Commit

Permalink
add assert
Browse files Browse the repository at this point in the history
  • Loading branch information
kgyrtkirk committed Oct 17, 2023
1 parent 87c6063 commit 43df657
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ public static DruidQuery fromPartialQuery(

if (partialQuery.getWindow() != null) {
if (plannerContext.featureAvailable(EngineFeature.WINDOW_FUNCTIONS)) {
assert (virtualColumnRegistry.isEmpty());
windowing = Preconditions.checkNotNull(
Windowing.fromCalciteStuff(
partialQuery,
Expand Down

0 comments on commit 43df657

Please sign in to comment.