bkmgit commented on a change in pull request #11882: URL: https://github.com/apache/arrow/pull/11882#discussion_r776929889
########## File path: cpp/src/arrow/compute/api_scalar.cc ########## @@ -99,6 +99,30 @@ struct EnumTraits<compute::CompareOperator> return "<INVALID>"; } }; + +template <> +struct EnumTraits<compute::BetweenOptions::Inclusiveness> + : BasicEnumTraits<compute::BetweenOptions::Inclusiveness, + compute::BetweenOptions::Inclusiveness::BOTH, + compute::BetweenOptions::Inclusiveness::LEFT, + compute::BetweenOptions::Inclusiveness::RIGHT, + compute::BetweenOptions::Inclusiveness::NEITHER> { + static std::string name() { return "BetweenOptions::Inclusiveness"; } + static std::string value_name(compute::BetweenOptions::Inclusiveness value) { + switch (value) { + case compute::BetweenOptions::Inclusiveness::BOTH: + return "BOTH"; + case compute::BetweenOptions::Inclusiveness::LEFT: + return "LEFT"; + case compute::BetweenOptions::Inclusiveness::RIGHT: + return "RIGHT"; + case compute::BetweenOptions::Inclusiveness::NEITHER: Review comment: Ok -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org