jorisvandenbossche commented on a change in pull request #11641:
URL: https://github.com/apache/arrow/pull/11641#discussion_r746954187



##########
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:
       But a plain string name could be useful for a StructArray? 




-- 
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]


Reply via email to