You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: truncate timestamps to date in Daily_Record_Ct measure formula
COUNT(DISTINCT col) on timestamp columns counts unique timestamps, not
unique dates, producing negative measures (e.g., -1575 instead of 240).
Add CAST(col AS DATE) for 7 flavors that were missing date truncation:
postgresql, snowflake, databricks, redshift, redshift_spectrum, mssql, trino.
BigQuery, Oracle, and SAP HANA already truncated correctly.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments