dragosmg commented on PR #13070:
URL: https://github.com/apache/arrow/pull/13070#issuecomment-1125242801

   @jonkeane in terms of what have I tried, I went down this route to identify 
the fist non-NULL element of `x`. 
   
   ```r
     for (i in 1:x$length()) {
       if (x$IsValid(i -1)) {
         xx <- x$Slice(i - 1 , 1)
         break()
       }
     }
   ```
   which doesn't work when `x` is an `Expression`, but it does the it is an 
`Array`. If only there were a way to anticipatively get the length of an 
`Expression` output (and other info) once evaluated. 


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