Skip to content

Commit

Permalink
ARROW-18406: [C++] Can't build Arrow with Substrait on Ubuntu 20.04 (a…
Browse files Browse the repository at this point in the history
…pache#14735)

Authored-by: Weston Pace <weston.pace@gmail.com>
Signed-off-by: Weston Pace <weston.pace@gmail.com>
  • Loading branch information
westonpace authored Nov 27, 2022
1 parent c0b311e commit 409a95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/engine/substrait/expression_internal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Id NormalizeFunctionName(Id id) {
Status DecodeArg(const substrait::FunctionArgument& arg, int idx, SubstraitCall* call,
const ExtensionSet& ext_set,
const ConversionOptions& conversion_options) {
if (arg.has_enum_()) {
if (!arg.enum_().empty()) {
call->SetEnumArg(idx, arg.enum_());
} else if (arg.has_value()) {
ARROW_ASSIGN_OR_RAISE(compute::Expression expr,
Expand Down

0 comments on commit 409a95d

Please sign in to comment.