Closed
Description
I had the following code and it worked ok (not sure with which version):
data |>
mutate(year = extract(NULL %year from% mydate))
Now it is broken, I could fix by changing to:
data |>
mutate(year = extract(`year from`(mydate)))
The translation is extract(year from("mydate")
.
I'm not sure if the previous behavior was documented. I don't see the breaking change idocumented in the NEWS. Was it purposefully disabled ? I thought it was neat.
Note: I just found out that I could just use year()
(on Oracle), not sure if it's new or not, but tangential to the issue.