Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
7.0.0
Description
In ARROW-15952, we documented the ArrayVisitor and TypeVisitor classes. But as I discovered in a cookbook PR, you can't subclass these abstract visitors and use type traits. Now I know why most visitor implementations within of Arrow don't subclasses these.
We should instead suggest users simply use the VisitArrayInline and VisitTypeInline with their visitors, and ignore the ArrayVisitor and TypeVisitor classes and associated Accept() methods. In fact, can we deprecate (or even remove) those? Do they add anything valuable?
Attachments
Issue Links
- relates to
-
ARROW-16006 [C++][Docs] Provide row conversion example for dynamic schemas
- Resolved
- links to