apache / apache/arrow-rs

TimestampParser does not support full ISO8601

Open
#8,219 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
3.6k
Forks
1.3k
Avg merge
2d 14h
Merged PRs (30d)
167

Description

**Describe the bug**

The documentation claims to support "RFC3339 / ISO8601 standard timestamps", but it will not accept strings with missing time components, for example `hh::mm` format (missing seconds).

Can the documentation be clarified, or the full format list supported?

**To Reproduce**

In `datafusion-cli`:

```
> SELECT to_timestamp_micros('2025-08-14T00:00Z') as timestamp_col;
Arrow error: Parser error: Error parsing timestamp from '2000-01-01T00:00Z': error parsing time
```

**Expected behavior**

**Additional context**

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the `to_timestamp_micros` query in `datafusion-cli` and trace the `TimestampParser` handling for `2025-08-14T00:00Z`. Review the timestamp documentation and parsing entry point to determine the supported ISO8601 forms; done means either the documented format list matches actual behavior or the reported missing form is accepted with coverage for the case.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.