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



##########
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:
       That's fair. Want to file a followup? I think we can support having a 
FieldRef internally, basically. (Though the interpretation will be a little 
different - it'll be relative to an array, not a schema.)




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