Skip to content

Instantly share code, notes, and snippets.

@wesm
Created February 17, 2021 00:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wesm/e3b52381de1556f2af669c7e2458afd0 to your computer and use it in GitHub Desktop.
Save wesm/e3b52381de1556f2af669c7e2458afd0 to your computer and use it in GitHub Desktop.
../src/arrow/scalar.h:494:25: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::MakeScalarImpl<unsigned long long &> >' requested here
ARROW_RETURN_NOT_OK(VisitTypeInline(*type_, this));
^
../src/arrow/scalar.h:515:77: note: in instantiation of member function 'arrow::MakeScalarImpl<unsigned long long &>::Finish' requested here
return MakeScalarImpl<Value&&>{type, std::forward<Value>(value), NULLPTR}.Finish();
^
../src/arrow/scalar.cc:360:12: note: in instantiation of function template specialization 'arrow::MakeScalar<unsigned long long &>' requested here
return MakeScalar(std::move(type_), std::forward<Arg>(arg)).Value(&out_);
^
../src/arrow/scalar.cc:340:12: note: in instantiation of function template specialization 'arrow::ScalarParseImpl::Finish<unsigned long long &>' requested here
return Finish(value);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::ScalarParseImpl::Visit<arrow::UInt64Type, void>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:366:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::ScalarParseImpl>' requested here
RETURN_NOT_OK(VisitTypeInline(*type_, this));
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::BinaryType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::LargeStringType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::LargeBinaryType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::FixedSizeBinaryType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::DurationType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::Date32Type>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::Date64Type>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::TimestampType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::Time32Type>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::Time64Type>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::MonthIntervalType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::DayTimeIntervalType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::Decimal128Type>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::Decimal256Type>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::ListType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::LargeListType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::MapType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::FixedSizeListType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
../src/arrow/scalar.cc:579:12: error: call to 'CastImpl' is ambiguous
return CastImpl(checked_cast<const typename TypeTraits<FromType>::ScalarType&>(from_),
^~~~~~~~
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType>::Visit<arrow::StructType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:605:12: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::FromTypeVisitor<arrow::BooleanType> >' requested here
return VisitTypeInline(*from_.type, &unpack_from_type);
^
../src/arrow/visitor_inline.h:89:34: note: in instantiation of function template specialization 'arrow::(anonymous namespace)::ToTypeVisitor::Visit<arrow::BooleanType>' requested here
ARROW_GENERATE_FOR_ALL_TYPES(TYPE_VISIT_INLINE);
^
../src/arrow/scalar.cc:634:19: note: in instantiation of function template specialization 'arrow::VisitTypeInline<arrow::(anonymous namespace)::ToTypeVisitor>' requested here
RETURN_NOT_OK(VisitTypeInline(*to, &unpack_to_type));
^
../src/arrow/scalar.cc:408:8: note: candidate function
Status CastImpl(const Scalar& from, Scalar* to) {
^
../src/arrow/scalar.cc:535:8: note: candidate function [with ScalarType = arrow::BooleanScalar]
Status CastImpl(const StringScalar& from, ScalarType* to) {
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment