diff --git a/processing/src/main/java/org/apache/druid/segment/transform/ExpressionTransform.java b/processing/src/main/java/org/apache/druid/segment/transform/ExpressionTransform.java index 98d2e54cb8c24..815e206edbcdd 100644 --- a/processing/src/main/java/org/apache/druid/segment/transform/ExpressionTransform.java +++ b/processing/src/main/java/org/apache/druid/segment/transform/ExpressionTransform.java @@ -31,7 +31,6 @@ import org.apache.druid.math.expr.ExprMacroTable; import org.apache.druid.math.expr.InputBindings; import org.apache.druid.math.expr.Parser; -import org.apache.druid.segment.virtual.ExpressionSelectors; import java.util.List; import java.util.Objects; @@ -111,9 +110,7 @@ public Object eval(final Row row) public List evalDimension(Row row) { try { - return Rows.objectToStrings( - ExpressionSelectors.coerceEvalToObjectOrList(expr.eval(InputBindings.forRow(row))) - ); + return Rows.objectToStrings(expr.eval(InputBindings.forRow(row))); } catch (Throwable t) { throw new ISE(t, "Could not transform dimension value for %s reason: %s", name, t.getMessage());