In the example below, the SQL and aggregation works properly, but the resulting data frame would have a total column of type character. This occurs with all numerical columns created using mutate or summarize before collect(). It does not occur with numerical columns selected directly from the table with no other manipulation.
Reverting to earlier versions of dplyr does not resolve the issue
Reverting to R 3.6.1 does resolve the issue
Using ODBC rather than JDBC appears to resolve the issue
Different versions of the snowflake JDBC driver did not resolve the issue
I am currently using R 4.4.0 and dplyr 1.1.4 on an M3 mac.
In the example below, the SQL and aggregation works properly, but the resulting data frame would have a total column of type character. This occurs with all numerical columns created using mutate or summarize before collect(). It does not occur with numerical columns selected directly from the table with no other manipulation.
I am currently using R 4.4.0 and dplyr 1.1.4 on an M3 mac.