Skip to content

Commit

Permalink
Make toVeloxExpr(Expression) virtual (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
lych4o authored Jun 11, 2024
1 parent 95a9e7f commit 41fc7f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion velox/substrait/SubstraitToVeloxExpr.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ namespace facebook::velox::substrait {
/// expressions.
class SubstraitVeloxExprConverter {
public:
virtual ~SubstraitVeloxExprConverter() = default;

/// subParser: A Substrait parser used to convert Substrait representations
/// into recognizable representations. functionMap: A pre-constructed map
/// storing the relations between the function id and the function name.
Expand Down Expand Up @@ -54,7 +56,7 @@ class SubstraitVeloxExprConverter {
const ::substrait::Expression::Literal& substraitLit);

/// Convert Substrait Expression into Velox Expression.
core::TypedExprPtr toVeloxExpr(
virtual core::TypedExprPtr toVeloxExpr(
const ::substrait::Expression& substraitExpr,
const RowTypePtr& inputType);

Expand Down

0 comments on commit 41fc7f2

Please sign in to comment.