nealrichardson commented on PR #12826:
URL: https://github.com/apache/arrow/pull/12826#issuecomment-1192007298

   > > Re: handling for non-Datasets, ideally you'd catch that when 
add_filename() is called. You should be able to find .data somewhere in the env 
stack and inspect it.
   > 
   > @nealrichardson I'm a bit lost as to how I'd be expecting `.data` to look 
different between a Table and a Dataset. I've managed to access it via 
`caller_env()$.data` but the contents look the same either way - a named list 
of Expressions.
   
   Not *that* .data, the .data that that is generated from in `arrow_mask()` I 
was thinking along the lines of what I proposed in 
https://issues.apache.org/jira/browse/ARROW-13186, which is (as you can see) 
not implemented. One idea would be to poke a magic variable into the data mask 
that says "I am a dataset", or attach an attribute to that .data to that 
effect, and you could find it here. But we can defer that--maybe make a TODO 
JIRA for that?


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