Skip to content

Conversation

@evertlammerts
Copy link
Collaborator

Add support for TIME_NS (see duckdb/duckdb#20361).

The original PR added support for the TIME_NS type, which represents the time of day in nanoseconds:

  • Arrow supports this type
  • Pandas does not have this type itself (but can handle it as an object through arrow)
  • Python does not have an equivalent - datetime.time has microsecond precision.

Note that DuckDB supports TIME_NS -> TIME casting but not the other way around, meaning that you can't insert e.g. a datetime.time into a TIME_NS column.

@evertlammerts evertlammerts merged commit 510ebd8 into duckdb:v1.5-variegata Jan 12, 2026
1 check passed
@evertlammerts evertlammerts deleted the time_ns_type branch January 12, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant