MislavSag opened a new issue, #44041: URL: https://github.com/apache/arrow/issues/44041
### Describe the bug, including details regarding any error messages, version, and platform. I am using R arrow package to retieve partitioned parquet data. Data is partitioned by symbol variable. I try to retrieve some data using dplyr syntax: ``` ds = open_dataset(path, format = "parquet") s_ = schema(ds) s_$TSFEL_0_Spectral_roll_on_66 x <- ds %>% dplyr::mutate(TSFEL_0_Spectral_roll_on_66 = arrow::cast(TSFEL_0_Spectral_roll_on_66, int32(), safe = FALSE)) %>% dplyr::select(any_of(c("symbol", "date", "TSFEL_0_Spectral_roll_on_66"))) %>% dplyr::filter(symbol == "app") %>% collect() ``` The error I get: ``` Error in `compute.arrow_dplyr_query()`: ! Invalid: Float value 1.51515 was truncated converting to int32 Run `rlang::last_trace()` to see where the error occurred. ``` If I use some other symbol (haven't tried all), above code works. But for symbol app it doesn't. I figured out the problem is in above variable that has type int32. I am using latest version of arrow (1.17). ### Component(s) R -- 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: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org