amoeba commented on issue #45601: URL: https://github.com/apache/arrow/issues/45601#issuecomment-2675802752
Thanks for the report, this needs to be fixed. For the crash, we're crashing when just trying to print: ``` --->8--- frame #6: 0x000000011b7ea404 arrow.so`arrow::internal::InvalidValueOrDie(arrow::Status const&) + 244 frame #7: 0x000000011b7ef470 arrow.so`arrow::Scalar::ToString() const + 1008 frame #8: 0x000000011ba76668 arrow.so`arrow::compute::Expression::ToString() const::$_4::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>) const + 260 frame #9: 0x000000011ba75a38 arrow.so`arrow::compute::Expression::ToString() const + 1008 frame #10: 0x000000011b267b6c arrow.so`_arrow_compute___expr__ToString + 108 --->8--- ``` and with extra error context turned on I see: > ValueOrDie called on an error: NotImplemented: construction from scalar of type <labelled<integer>[0]>: example variable a We could probably also make arrow work seamlessly with labeled dataframes, is that what you were expecting when you ran into this? We could drop the labels when converting to an Arrow table which would be functionally equivalent to this: ```r > d %>% + zap_labels() %>% + as_arrow_table() %>% + filter(a > 3) %>% + collect() # A tibble: 2 × 2 a b * <int> <int> 1 4 14 2 5 15 ``` -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org