Skip to content

Commit

Permalink
ARROW-17371: [R] Remove as.factor to dictionary_encode mapping
Browse files Browse the repository at this point in the history
Closes apache#13836 from thisisnic/remove_as_factor

Authored-by: Nic Crane <thisisnic@gmail.com>
Signed-off-by: Nic Crane <thisisnic@gmail.com>
  • Loading branch information
thisisnic authored and fatemehp committed Oct 17, 2022
1 parent d58568e commit e064438
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions r/R/expression.R
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,8 @@
"lubridate::mday" = "day",
"lubridate::yday" = "day_of_year",
"lubridate::year" = "year",
"lubridate::leap_year" = "is_leap_year",
"lubridate::leap_year" = "is_leap_year"

# type conversion functions
"base::as.factor" = "dictionary_encode"
)

.binary_function_map <- list(
Expand Down

0 comments on commit e064438

Please sign in to comment.