I am implementing the support for the following expression in polars using the cast function under the compute module of this library, but I am getting the following error when using millisecond or microsecond time units.
cast failed: NotYetImplemented("Casting from Utf8 to Timestamp(Millisecond, Some(\"-02:00\")) not supported")
I would expect them to cast the date time without issues. I can provide a proposal PR to support this if you are ok with it.
Also the following date time format is not supported '2021-12-19 16:39:57', When I try to cast using it returns None. Should I open a new issue for this or could we handle it here?
Already provided a PR. I Also need to support different timestamp formats cause the only one supported right now is %Y-%m-%dT%H:%M:%S%.f%:z but I guest I have to put those changes on a different PR.
I am implementing the support for the following expression in polars using the cast function under the compute module of this library, but I am getting the following error when using millisecond or microsecond time units.
Output:
cast failed: NotYetImplemented("Casting from Utf8 to Timestamp(Millisecond, Some(\"-02:00\")) not supported")
I would expect them to cast the date time without issues. I can provide a proposal PR to support this if you are ok with it.
Also the following date time format is not supported '2021-12-19 16:39:57', When I try to cast using it returns None. Should I open a new issue for this or could we handle it here?