From c59947b221fa41ba5f5f69189c58a2f883e106b2 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 20 Apr 2022 15:29:16 +0200 Subject: [PATCH] fix: handle BasicCondition in AggregatePercentileApproxColumn transform --- QueryBuilder/Compilers/SqlServerCompiler.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/QueryBuilder/Compilers/SqlServerCompiler.cs b/QueryBuilder/Compilers/SqlServerCompiler.cs index e456f76a..a33826a2 100644 --- a/QueryBuilder/Compilers/SqlServerCompiler.cs +++ b/QueryBuilder/Compilers/SqlServerCompiler.cs @@ -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()}"); } }