Skip to content

Store date-times with finer precision in milliseconds instead of failing - #70

Merged
m-mohr merged 4 commits into
mainfrom
date-time-milliseconds
Nov 9, 2026
Merged

m-mohr merged 4 commits into
mainfrom
date-time-milliseconds

Conversation

@m-mohr

@m-mohr m-mohr commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Writing GeoParquet floors date-times to milliseconds, as the specification defines, instead of failing on finer precision. Applies to GeoParquet.write and the DuckDB converter.

This comment was marked as resolved.

This comment was marked as resolved.

# Conflicts:
#	CHANGELOG.md
#	tests/test_convert_duckdb.py

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

A critical active finding remains in the timestamp conversion: integer division is performed as floating-point, causing incorrect handling of negative sub-millisecond values and potentially failing or truncating the cast.

1 open issue
2 resolved since last review

Review effort: Lite

Comment thread vecorel_cli/encoding/geoparquet.py Resolved
@m-mohr
m-mohr merged commit 51699e8 into main Nov 9, 2026
7 checks passed
@m-mohr
m-mohr deleted the date-time-milliseconds branch November 9, 2026 14:37
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.

2 participants