milesgranger commented on code in PR #14238:
URL: https://github.com/apache/arrow/pull/14238#discussion_r983246044
##########
python/pyarrow/src/arrow_to_pandas.cc:
##########
@@ -191,6 +192,13 @@ static inline bool ListTypeSupported(const DataType& type)
{
const auto& list_type = checked_cast<const BaseListType&>(type);
return ListTypeSupported(*list_type.value_type());
}
+ case Type::EXTENSION: {
+ auto ext = std::dynamic_pointer_cast<ExtensionType>(type.GetSharedPtr());
+ if (ext == nullptr) {
+ return false;
+ }
Review Comment:
Thanks for that, all the casting choices in cpp has me dizzy, but I'm
getting there. :)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]