Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yma11 committed Jul 19, 2023
1 parent 4d342f7 commit ce5b638
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion velox/docs/functions/spark/comparison.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Comparison Functions
Returns true if x is within the specified [min, max] range
inclusive. The types of all arguments must be the same.
Supported types are: TINYINT, SMALLINT, INTEGER, BIGINT, DOUBLE, REAL.
Supported types are: TINYINT, SMALLINT, INTEGER, BIGINT, DOUBLE, REAL, HUGEINT.

.. spark:function:: equalnullsafe(x, y) -> boolean
Expand Down
10 changes: 5 additions & 5 deletions velox/functions/sparksql/Comparisons.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,27 +98,27 @@ struct GreaterOrEqual : private Less<T> {
std::shared_ptr<exec::VectorFunction> makeEqualTo(
const std::string& name,
const std::vector<exec::VectorFunctionArg>& inputArgs,
const core::QueryConfig& /*config*/);
const core::QueryConfig&);

std::shared_ptr<exec::VectorFunction> makeLessThan(
const std::string& name,
const std::vector<exec::VectorFunctionArg>& inputArgs,
const core::QueryConfig& /*config*/);
const core::QueryConfig&);

std::shared_ptr<exec::VectorFunction> makeGreaterThan(
const std::string& name,
const std::vector<exec::VectorFunctionArg>& inputArgs,
const core::QueryConfig& /*config*/);
const core::QueryConfig&);

std::shared_ptr<exec::VectorFunction> makeLessThanOrEqual(
const std::string& name,
const std::vector<exec::VectorFunctionArg>& inputArgs,
const core::QueryConfig& /*config*/);
const core::QueryConfig&);

std::shared_ptr<exec::VectorFunction> makeGreaterThanOrEqual(
const std::string& name,
const std::vector<exec::VectorFunctionArg>& inputArgs,
const core::QueryConfig& /*config*/);
const core::QueryConfig&);

inline std::vector<std::shared_ptr<exec::FunctionSignature>>
comparisonSignatures() {
Expand Down

0 comments on commit ce5b638

Please sign in to comment.