Skip to content

fix(Raw): local_timestamp_kind is gone from the raw files - #24

Closed
almostintuitive wants to merge 2 commits into
mainfrom
fix/raw-drop-local-timestamp-kind
Closed

almostintuitive wants to merge 2 commits into
mainfrom
fix/raw-drop-local-timestamp-kind

Conversation

@almostintuitive

@almostintuitive almostintuitive commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Why

aperiodic-io/queries-historical#422 removed local_timestamp_kind (every raw file) from the raw buckets, and it stays removed. next_funding_timestamp (a column of funding_rate files) is NOT removed: it stays a served column and is being restored in the production buckets (footer rewrite, in progress). An earlier version of this PR, its title and its first commit message said both columns were gone; that was wrong. The CLI only downloads the files as served, so nothing functional changes; the text does.

Changes

  • README.md: the paragraph that said every file starts with local_timestamp_kind now says local_timestamp is measured where we capture the feed and modelled earlier, with no per-row marker: each Parquet file records which in its metadata (aperiodic.origin, aperiodic.latency_model).
  • cli_raw.go and the README table row: funding_rate keeps its description "Funding rate and next funding time", identical to main. (An earlier commit in this PR shortened it; the latest commit reverts that.) The net diff against main is the README paragraph only.

For a short while, until the production restore finishes, the funding_rate files may still lack next_funding_timestamp; the description states the intended state.

Tested

  • gofmt clean; go vet clean.
  • go test ./...: 6 tests fail, all live tests that need APERIODIC_API_KEY (not set here); they fail identically on main. No test asserts on the columns.

🤖 Generated with Claude Code

Copilot AI and others added 2 commits October 6, 2026 07:42
…om the raw files

The served raw files no longer have the local_timestamp_kind column, and
funding_rate no longer has next_funding_time. Fix the dataset description the
CLI prints and the README, which now says where measured vs modelled local
times are recorded (file metadata).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…te description

Only local_timestamp_kind is gone from the raw files. next_funding_timestamp
stays a served column of funding_rate files (being restored in production), so
the dataset description and README table row go back to what main has. The
local_timestamp_kind paragraph change stays. The previous commit message
claimed next_funding_timestamp was removed too.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@almostintuitive almostintuitive changed the title fix(Raw): local_timestamp_kind and next_funding_timestamp are gone from the raw files fix(Raw): local_timestamp_kind is gone from the raw files Oct 6, 2026
@almostintuitive
almostintuitive deleted the fix/raw-drop-local-timestamp-kind branch October 6, 2026 14:11
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