sweb edited a comment on pull request #9428:
URL: https://github.com/apache/arrow/pull/9428#issuecomment-791491062


   > @sweb what is the status of this PR? Are you blocked? If you just haven't 
had time or inclination to make changes, that is fine (I totally understand) I 
just wanted try and clear the PR queue
   
   @alamb Sorry for the late response - I did not have enough time to continue 
with this and did not see your message. However, I am currently blocked on one 
front:
   
   I have created a new kernel function with the following signature:
   ```
   fn regexp_match(array: &Array, pattern: &str) -> Result<ArrayRef>
   ```
   
   where `ArrayRef` is a `GenericListArray`. This is my attempt to get closer 
to the Postgres functions. However, I do not seem to understand, how I can 
define a return type appropriate for `ListArray` for a DataFusion function. To 
be more specific: When I try to define the return type of `DataType::List` in 
`functions.rs` I need to create a `Box<Field>` and I am not sure whether it 
makes sense to create it here - e.g. what should be the name of the field?
   
   If you have some pointers for this, I would be very grateful - I was not 
able to find something similar yet. I have added my current state, which kind 
of works but I am not too sure that what I am doing there is correct. Again, 
apologies for the late response.


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to