jorisvandenbossche commented on a change in pull request #11641:
URL: https://github.com/apache/arrow/pull/11641#discussion_r746971253
##########
File path: cpp/src/arrow/compute/api_scalar.h
##########
@@ -223,6 +223,18 @@ class ARROW_EXPORT SetLookupOptions : public
FunctionOptions {
bool skip_nulls;
};
+/// Options for struct_field function
+class ARROW_EXPORT StructFieldOptions : public FunctionOptions {
+ public:
+ explicit StructFieldOptions(std::vector<int> indices);
Review comment:
Yes, storing it as strings on the options, I meant. Because when
actually executing the kernel, the struct array itself can perfectly resolve
the name I think?
--
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]