Skip to content

Commit

Permalink
fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
R-JunmingChen committed Jul 12, 2023
1 parent 1d8c596 commit 4efa0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/compute/dictionary_decode.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class DictionaryDecodeMetaFunction : public MetaFunction {
if (args[0].is_array() || args[0].is_chunked_array()) {
DictionaryType* dict_type = checked_cast<DictionaryType>(args[0].type().get());
CastOptions cast_options = CastOptions::Safe(dict_type->value_type());
return CallFunction("cast", args, &cast_option, ctx);
return CallFunction("cast", args, &cast_options, ctx);
} else {
return Status::TypeError("Expected an Array or a Chunked Array");
}
Expand Down

0 comments on commit 4efa0db

Please sign in to comment.