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

Incremental SQL validation #414

Closed
wants to merge 43 commits into from
Closed

Commits on Oct 14, 2021

  1. Ignore Pyright config file

    joshtemple committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    2dc9ea7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a263c19 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6341789 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bb679d1 View commit details
    Browse the repository at this point in the history
  5. Rework content validator to return errors directly

    Also removes the parent Validator class entirely, which was violating Liskov substitution principle and frankly wasn't very useful as a parent class anyway.
    joshtemple committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    b09e215 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f384c0c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    139d0ed View commit details
    Browse the repository at this point in the history
  8. Fix content validation tests

    Includes moving build_project to its own method in lookml.py and an update to explore selection that uses a ~/repos/spectacles to represent excluded explores in a single list instead of using two lists (selectors/exclusions) to represent.
    joshtemple committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    eb4a3a1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cad6bf8 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2021

  1. Fix cassette names

    joshtemple committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    eebdd37 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5cfb999 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1467e3f View commit details
    Browse the repository at this point in the history
  4. Simplify skipping in loop

    joshtemple committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    1c74eba View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    462df2d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    96be6aa View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1cdaa66 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    98f1365 View commit details
    Browse the repository at this point in the history
  9. Remove QueryMode type

    joshtemple committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    39def00 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    ee88b82 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e26d8c3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c986e5e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    7aa9f1f View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    d747629 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    eff1903 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    5732737 View commit details
    Browse the repository at this point in the history
  17. Use safer default args

    joshtemple committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    60bddd0 View commit details
    Browse the repository at this point in the history
  18. Fix bug in repr

    joshtemple committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    1afb25a View commit details
    Browse the repository at this point in the history
  19. Update tests for SQL validation

    I chose to remove the tests that included warnings. Fail and Pass should be sufficient.
    joshtemple committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    0f81666 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    00b91e8 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    9372f0f View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    7cffc4d View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    64b30d0 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    8021c28 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    3eba9db View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    c3da7f8 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    eb6c5b1 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    95741d5 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    b66f731 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2021

  1. Fix bug in validate_sql

    Didn't set dimension tests correctly in non-incremental case.
    joshtemple committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    d44f327 View commit details
    Browse the repository at this point in the history
  2. Fix bug in SqlTest __eq__

    Because .sql can sometimes be None (non incremental-case) this was causing all SqlTests to be equal, causing some really weird errors in how we removed tests from the  attribute.
    joshtemple committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    85f3845 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0673ef4 View commit details
    Browse the repository at this point in the history
  4. Use loops instead of set operations

    Set operations are problematic here because we don't have control over which object is returned (from set A or set B). This is important because we only want to use the objects from the base project, not the target project.
    joshtemple committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    1ed54fe View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    502b2fa View commit details
    Browse the repository at this point in the history