Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
2.0.0
-
None
-
None
Description
>>> import pyarrow.compute as pc >>> pc.strptime('13:13:30', format='%H:%M:%S', unit='s') <pyarrow.TimestampScalar: datetime.datetime(1899, 12, 31, 13, 13, 30)> >>> pc.strptime('13:13:30.255', format='%H:%M:%S.%f', unit='ms') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.6/dist-packages/pyarrow/compute.py", line 140, in wrapper return func.call([arg], options, memory_pool) File "pyarrow/_compute.pyx", line 275, in pyarrow._compute.Function.call File "pyarrow/error.pxi", line 122, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 84, in pyarrow.lib.check_status pyarrow.lib.ArrowInvalid: Failed to parse string 13:13:30.255
Attachments
Issue Links
- is a child of
-
ARROW-15894 [C++] Strptime issues umbrella
- Open
- is duplicated by
-
ARROW-15883 [C++] Support for fractional seconds in strptime()
- Open