Skip to content

Commit

Permalink
wrong template argument
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Jul 11, 2020
1 parent 0e83e5e commit 3c2472e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/compute/kernels/scalar_string.cc
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ struct IsNumericUnicode
template <typename ArrowType>
struct IsAscii : BinaryToBoolean<ArrowType, IsAscii<ArrowType>> {
using offset_type =
typename BinaryToBoolean<StringType, IsAscii<StringType>>::offset_type;
typename BinaryToBoolean<ArrowType, IsAscii<ArrowType>>::offset_type;
static bool Predicate(KernelContext* ctx, const uint8_t* input,
offset_type input_string_nascii_characters) {
return std::all_of(input, input + input_string_nascii_characters,
Expand Down Expand Up @@ -799,7 +799,7 @@ struct IsSpaceAscii : CharacterPredicateAscii<ArrowType, IsSpaceAscii<ArrowType>
template <typename ArrowType>
struct IsTitleUnicode : BinaryToBoolean<ArrowType, IsTitleUnicode<ArrowType>> {
using offset_type =
typename BinaryToBoolean<ArrowType, IsTitleUnicode<StringType>>::offset_type;
typename BinaryToBoolean<ArrowType, IsTitleUnicode<ArrowType>>::offset_type;
static bool Predicate(KernelContext* ctx, const uint8_t* input,
offset_type input_string_ncodeunits) {
// rules:
Expand Down

0 comments on commit 3c2472e

Please sign in to comment.