Skip to content

FLOOR postgres DATETIME_DIFF to match BigQuery#2059

Open
Chessing234 wants to merge 1 commit into
MIT-LCP:mainfrom
Chessing234:fix/1549-postgres-datetime-diff-floor
Open

FLOOR postgres DATETIME_DIFF to match BigQuery#2059
Chessing234 wants to merge 1 commit into
MIT-LCP:mainfrom
Chessing234:fix/1549-postgres-datetime-diff-floor

Conversation

@Chessing234

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • DATETIME_DIFF minute/hour diffs match BQ for same timestamps
  • Existing concept queries still run

Fixes #1549

Made with Cursor

Fractional epoch ratios diverge from BQ integer DATETIME_DIFF (MIT-LCP#1549).

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

DATETIME_DIFF implementation varies between postgres and bigquery

1 participant