Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests for custom offset window #1585

Open
wants to merge 6 commits into
base: court/custom-offset6.5
Choose a base branch
from

Conversation

courtneyholcomb
Copy link
Contributor

@courtneyholcomb courtneyholcomb commented Dec 18, 2024

Tests for custom offset window. The snapshots in this PR should give you a better idea of what the SQL and output should look like.

@cla-bot cla-bot bot added the cla:yes label Dec 18, 2024
@courtneyholcomb courtneyholcomb changed the title WIP Tests for custom offset window Dec 18, 2024
@courtneyholcomb courtneyholcomb force-pushed the court/custom-offset7 branch 2 times, most recently from 0048a87 to 33fe95d Compare December 18, 2024 23:27
@courtneyholcomb courtneyholcomb force-pushed the court/custom-offset7 branch 2 times, most recently from 118b710 to 5455fe5 Compare December 19, 2024 06:39
@courtneyholcomb courtneyholcomb force-pushed the court/custom-offset6 branch 2 times, most recently from d0c473a to bebe99d Compare December 19, 2024 06:55
@courtneyholcomb courtneyholcomb force-pushed the court/custom-offset7 branch 2 times, most recently from 3d9de58 to b53a655 Compare December 19, 2024 06:56
@courtneyholcomb courtneyholcomb changed the base branch from court/custom-offset6 to court/custom-offset6.5 December 19, 2024 06:59
@courtneyholcomb courtneyholcomb force-pushed the court/custom-offset7 branch 2 times, most recently from d260a66 to 75042dd Compare December 19, 2024 07:01
@dbt-labs dbt-labs deleted a comment from github-actions bot Dec 19, 2024
@courtneyholcomb courtneyholcomb force-pushed the court/custom-offset7 branch 2 times, most recently from eda848f to 1e2b931 Compare December 19, 2024 15:50
@courtneyholcomb courtneyholcomb marked this pull request as ready for review December 19, 2024 15:51
@courtneyholcomb courtneyholcomb added the Run Tests With Other SQL Engines Runs the test suite against the SQL engines in our target environment label Dec 19, 2024
@github-actions github-actions bot removed the Run Tests With Other SQL Engines Runs the test suite against the SQL engines in our target environment label Dec 19, 2024
@courtneyholcomb courtneyholcomb added the Run Tests With Other SQL Engines Runs the test suite against the SQL engines in our target environment label Dec 19, 2024
@courtneyholcomb courtneyholcomb deployed to DW_INTEGRATION_TESTS December 19, 2024 20:02 — with GitHub Actions Active
@github-actions github-actions bot removed the Run Tests With Other SQL Engines Runs the test suite against the SQL engines in our target environment label Dec 19, 2024
Copy link
Contributor

@plypaul plypaul left a comment

Choose a reason for hiding this comment

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

LGTM though please see comment about martian_time.

docstring:
Gives a side by side comparison of bookings and bookings_offset_one_martian_day.
---
metric_time__martian_day metric_time__day bookings bookings_offset_one_martian_day
Copy link
Contributor

Choose a reason for hiding this comment

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

  • With how martian_day is defined, it's a little hard to check these snapshots for correctness.
  • A more straightforward mapping would help e.g. martian days are always 10 years before.
  • Also time on Mars is represented differently externally, so a different name would help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants