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 #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 committed Sep 1, 2022
1 parent c72ad16 commit fe6e902
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 fe6e902

Please sign in to comment.