Skip to content

Commit

Permalink
Revert "Add RowConstructorWithNull expression (374)" (#420)
Browse files Browse the repository at this point in the history
This reverts commit 556839d.
  • Loading branch information
rui-mo authored Oct 24, 2023
1 parent 8d0a264 commit 6c764e8
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 190 deletions.
1 change: 0 additions & 1 deletion velox/expression/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ add_library(
VectorFunction.cpp
RegisterSpecialForm.cpp
RowConstructor.cpp
RowConstructorWithNull.cpp
SimpleFunctionRegistry.cpp
SpecialFormRegistry.cpp
SwitchExpr.cpp
Expand Down
4 changes: 0 additions & 4 deletions velox/expression/RegisterSpecialForm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include "velox/expression/ConjunctExpr.h"
#include "velox/expression/FunctionCallToSpecialForm.h"
#include "velox/expression/RowConstructor.h"
#include "velox/expression/RowConstructorWithNull.h"
#include "velox/expression/SpecialFormRegistry.h"
#include "velox/expression/SwitchExpr.h"
#include "velox/expression/TryExpr.h"
Expand All @@ -48,8 +47,5 @@ void registerFunctionCallToSpecialForms() {
registerFunctionCallToSpecialForm(
RowConstructorCallToSpecialForm::kRowConstructor,
std::make_unique<RowConstructorCallToSpecialForm>());
registerFunctionCallToSpecialForm(
RowConstructorWithNullCallToSpecialForm::kRowConstructorWithNull,
std::make_unique<RowConstructorWithNullCallToSpecialForm>());
}
} // namespace facebook::velox::exec
66 changes: 0 additions & 66 deletions velox/expression/RowConstructorWithNull.cpp

This file was deleted.

44 changes: 0 additions & 44 deletions velox/expression/RowConstructorWithNull.h

This file was deleted.

1 change: 0 additions & 1 deletion velox/functions/prestosql/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ add_library(
Repeat.cpp
Reverse.cpp
RowFunction.cpp
RowFunctionWithNull.cpp
Sequence.cpp
SimpleComparisonMatcher.cpp
Slice.cpp
Expand Down
72 changes: 0 additions & 72 deletions velox/functions/prestosql/RowFunctionWithNull.cpp

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ void registerAllSpecialFormGeneralFunctions() {
exec::registerFunctionCallToSpecialForms();
VELOX_REGISTER_VECTOR_FUNCTION(udf_in, "in");
VELOX_REGISTER_VECTOR_FUNCTION(udf_concat_row, "row_constructor");
VELOX_REGISTER_VECTOR_FUNCTION(
udf_concat_row_with_null, "row_constructor_with_null");
registerIsNullFunction("is_null");
}

Expand Down

0 comments on commit 6c764e8

Please sign in to comment.