Skip to content

Commit

Permalink
fix: handle BasicCondition in AggregatePercentileApproxColumn transform
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHacky authored and sidharthkalra committed Apr 22, 2022
1 parent 8eca6ee commit c59947b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions QueryBuilder/Compilers/SqlServerCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ private void TransformPercentileApprox(Query query)
{
query.Clauses.Add(clause.Clone());
}; break;
case BasicCondition basicCondition:
{
query.Clauses.Add(clause.Clone());
}; break;
default: throw new NotImplementedException($"Unhandled clause type: {clause.GetType()}");
}
}
Expand Down

0 comments on commit c59947b

Please sign in to comment.