Skip to content

Rename columns for v2026.06.26 schema; default to v2026.06.26#4

Merged
bbest merged 1 commit into
mainfrom
fix/column-rename-v2026.06.26
Jun 27, 2026
Merged

Rename columns for v2026.06.26 schema; default to v2026.06.26#4
bbest merged 1 commit into
mainfrom
fix/column-rename-v2026.06.26

Conversation

@bbest

@bbest bbest commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

calcofi.io/query broke against the latest release because v2026.06.26 renamed six columns; the queries still used the old names. Renamed across _queries/*.md (inline SQL + prose), lib/match.js (the bio-env sql_builder queries), and lib/options-sources.js:

old → new table
datetime_utc datetime_start_utc casts
time_start datetime_start_utc tow
lon_dec longitude casts
lat_dec latitude casts
std_haul_factor standard_haul_factor net
vol_sampled_m3 volume_sampled net

Bumped default_versionv2026.06.26. Kept 1:1 with calcofi4r/R/match.R (separate PR). Note: selecting a pre-rename release in the version field will now error (old releases lack the new column names) — acceptable; the app tracks latest. Needs a Pages deploy (merge) to go live.

🤖 Generated with Claude Code

v2026.06.26 renamed casts.datetime_utc→datetime_start_utc, tow.time_start→datetime_start_utc, lon_dec→longitude, lat_dec→latitude, net.std_haul_factor→standard_haul_factor, vol_sampled_m3→volume_sampled. Updated _queries/*.md inline SQL + prose, lib/match.js (bio-env sql_builder), lib/options-sources.js, and bumped default_version to v2026.06.26.

Fixes calcofi.io/query against the latest release and unblocks the test_release latest.txt gate.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bbest bbest merged commit 9eef8a7 into main Jun 27, 2026
@bbest bbest deleted the fix/column-rename-v2026.06.26 branch June 27, 2026 15:58
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