Skip to content

Updating claim types + adding test to check for claim type #994

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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

amartinson193
Copy link
Contributor

@amartinson193 amartinson193 commented Jul 28, 2025

Describe your changes

Includes the following changes:

  • Adds dental and vision to accepted claim types
  • Adds 3 new tests:
    • Confirms each claim only has 1 claim type across all claim lines (important to do earlier since it will fail downstream in other tests)
    • 2 tests are for medical + pharmacy and codifies guidance in the claims mapping guide regarding allowed amount

How has this been tested?

Ran on a Tuva client previously to confirm it's working as expected.

Reviewer focus

Please summarize the specific items you’d like the reviewer(s) to look into.

Checklist before requesting a review

  • I have added at least one Github label to this PR (bug, enhancement, breaking change,...)
  • My code follows style guidelines

@github-project-automation github-project-automation bot moved this to 👀 Ready for Review in The Tuva Project Jul 28, 2025
@amartinson193 amartinson193 added the enhancement New feature or request label Jul 28, 2025
Copy link

SQLFluff Linting Failed

Issues were found that require manual correction or are unfixable by sqlfluff fix.
Please review the output below (or the full logs), fix the issues locally, and commit the changes.

SQLFluff Run Log - Mode: ci, Fix: false, Time: Mon Jul 28 17:15:25 UTC 2025

===== SQLFLUFF LINT (Initial Check) OUTPUT (2025-07-28_17:20:23) (Filtered) =====

=== [dbt templater] Sorting Nodes...
=== [dbt templater] Compiling dbt project...
=== [dbt templater] Project Compiled.
== [tests/check_medical_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:   7 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:   8 | P:  34 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:   9 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  10 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  11 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  12 | P:  43 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  20 | P:  33 | AL01 | Implicit/explicit aliasing of table. [aliasing.table]
L:  22 | P:  32 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  23 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  24 | P:  37 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  25 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  27 | P:  11 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
== [tests/check_pharmacy_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:   7 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:   8 | P:  34 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:   9 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  10 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  11 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  12 | P:  43 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  20 | P:  34 | AL01 | Implicit/explicit aliasing of table. [aliasing.table]
L:  22 | P:  32 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  23 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  24 | P:  37 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  25 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  27 | P:  11 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
== [tests/unique_claim_id_claim_type.sql] FAIL
L:   4 | P:  13 | LT04 | Found trailing comma ','. Expected only leading near
                       | line breaks. [layout.commas]
L:   7 | P:   2 | LT04 | Found trailing comma ','. Expected only leading near
                       | line breaks. [layout.commas]
L:  11 | P:  13 | LT04 | Found trailing comma ','. Expected only leading near
                       | line breaks. [layout.commas]
L:  18 | P:  25 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
All Finished!

=========================================================================


===== SQLFLUFF FIX (Check, Informational) OUTPUT (2025-07-28_17:25:23) (Filtered) =====

==== finding fixable violations ====
=== [dbt templater] Sorting Nodes...
=== [dbt templater] Compiling dbt project...
=== [dbt templater] Project Compiled.
== [tests/check_medical_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:   7 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:   8 | P:  34 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:   9 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  10 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  11 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  12 | P:  43 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  20 | P:  33 | AL01 | Implicit/explicit aliasing of table. [aliasing.table]
L:  20 | P:  33 | CP01 | Keywords must be lower case. [capitalisation.keywords]
L:  22 | P:  32 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  23 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  24 | P:  37 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  25 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  27 | P:  11 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
== [tests/check_medical_allowed_amount.sql] FIXED
== [tests/check_pharmacy_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:   7 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:   8 | P:  34 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:   9 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  10 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  11 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  12 | P:  43 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  20 | P:  34 | AL01 | Implicit/explicit aliasing of table. [aliasing.table]
L:  20 | P:  34 | CP01 | Keywords must be lower case. [capitalisation.keywords]
L:  22 | P:  32 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  23 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  24 | P:  37 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  25 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  27 | P:  11 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
== [tests/check_pharmacy_allowed_amount.sql] FIXED
== [tests/unique_claim_id_claim_type.sql] FAIL
L:   4 | P:  13 | LT04 | Found trailing comma ','. Expected only leading near
                       | line breaks. [layout.commas]
L:   7 | P:   2 | LT04 | Found trailing comma ','. Expected only leading near
                       | line breaks. [layout.commas]
L:  11 | P:  13 | LT04 | Found trailing comma ','. Expected only leading near
                       | line breaks. [layout.commas]
L:  18 | P:  25 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
== [tests/unique_claim_id_claim_type.sql] FIXED
32 fixable linting violations found

=========================================================================

Copy link

github-actions bot commented Aug 4, 2025

SQLFluff Linting Failed

Issues were found that require manual correction or are unfixable by sqlfluff fix.
Please review the output below (or the full logs), fix the issues locally, and commit the changes.

SQLFluff Run Log - Mode: ci, Fix: false, Time: Mon Aug  4 16:24:39 UTC 2025

===== SQLFLUFF LINT (Initial Check) OUTPUT (2025-08-04_16:29:38) (Filtered) =====

=== [dbt templater] Sorting Nodes...
=== [dbt templater] Compiling dbt project...
=== [dbt templater] Project Compiled.
== [tests/check_medical_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  14 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  15 | P:  34 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  16 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  17 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  18 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  19 | P:  43 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  27 | P:  33 | AL01 | Implicit/explicit aliasing of table. [aliasing.table]
L:  29 | P:  32 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  30 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  31 | P:  37 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  32 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  34 | P:  11 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
== [tests/check_pharmacy_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  15 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  16 | P:  34 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  17 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  18 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  19 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  20 | P:  43 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  28 | P:  34 | AL01 | Implicit/explicit aliasing of table. [aliasing.table]
L:  30 | P:  32 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  31 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  32 | P:  37 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  33 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  35 | P:  11 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
== [tests/unique_claim_id_claim_type.sql] FAIL
L:  13 | P:  13 | LT04 | Found trailing comma ','. Expected only leading near
                       | line breaks. [layout.commas]
L:  16 | P:   2 | LT04 | Found trailing comma ','. Expected only leading near
                       | line breaks. [layout.commas]
L:  20 | P:  13 | LT04 | Found trailing comma ','. Expected only leading near
                       | line breaks. [layout.commas]
L:  27 | P:  25 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
All Finished!

=========================================================================


===== SQLFLUFF FIX (Check, Informational) OUTPUT (2025-08-04_16:34:42) (Filtered) =====

==== finding fixable violations ====
=== [dbt templater] Sorting Nodes...
=== [dbt templater] Compiling dbt project...
=== [dbt templater] Project Compiled.
== [tests/check_medical_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  14 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  15 | P:  34 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  16 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  17 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  18 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  19 | P:  43 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  27 | P:  33 | AL01 | Implicit/explicit aliasing of table. [aliasing.table]
L:  27 | P:  33 | CP01 | Keywords must be lower case. [capitalisation.keywords]
L:  29 | P:  32 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  30 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  31 | P:  37 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  32 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  34 | P:  11 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
== [tests/check_medical_allowed_amount.sql] FIXED
== [tests/check_pharmacy_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  15 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  16 | P:  34 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  17 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  18 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  19 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  20 | P:  43 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  28 | P:  34 | AL01 | Implicit/explicit aliasing of table. [aliasing.table]
L:  28 | P:  34 | CP01 | Keywords must be lower case. [capitalisation.keywords]
L:  30 | P:  32 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  31 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  32 | P:  37 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  33 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  35 | P:  11 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
== [tests/check_pharmacy_allowed_amount.sql] FIXED
== [tests/unique_claim_id_claim_type.sql] FAIL
L:  13 | P:  13 | LT04 | Found trailing comma ','. Expected only leading near
                       | line breaks. [layout.commas]
L:  16 | P:   2 | LT04 | Found trailing comma ','. Expected only leading near
                       | line breaks. [layout.commas]
L:  20 | P:  13 | LT04 | Found trailing comma ','. Expected only leading near
                       | line breaks. [layout.commas]
L:  27 | P:  25 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
== [tests/unique_claim_id_claim_type.sql] FIXED
32 fixable linting violations found

=========================================================================

Copy link

github-actions bot commented Aug 4, 2025

SQLFluff Linting Failed

Issues were found that require manual correction or are unfixable by sqlfluff fix.
Please review the output below (or the full logs), fix the issues locally, and commit the changes.

SQLFluff Run Log - Mode: ci, Fix: false, Time: Mon Aug  4 16:46:22 UTC 2025

===== SQLFLUFF LINT (Initial Check) OUTPUT (2025-08-04_16:51:16) (Filtered) =====

=== [dbt templater] Sorting Nodes...
=== [dbt templater] Compiling dbt project...
=== [dbt templater] Project Compiled.
== [tests/check_medical_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  14 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  15 | P:  34 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  16 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  17 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  18 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  19 | P:  43 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  27 | P:  33 | AL01 | Implicit/explicit aliasing of table. [aliasing.table]
L:  29 | P:  32 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  30 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  31 | P:  37 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  32 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  34 | P:  11 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
== [tests/check_pharmacy_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  15 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  16 | P:  34 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  17 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  18 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  19 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  20 | P:  43 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  28 | P:  34 | AL01 | Implicit/explicit aliasing of table. [aliasing.table]
L:  30 | P:  32 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  31 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  32 | P:  37 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  33 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  35 | P:  11 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
All Finished!

=========================================================================


===== SQLFLUFF FIX (Check, Informational) OUTPUT (2025-08-04_16:56:20) (Filtered) =====

==== finding fixable violations ====
=== [dbt templater] Sorting Nodes...
=== [dbt templater] Compiling dbt project...
=== [dbt templater] Project Compiled.
== [tests/check_medical_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  14 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  15 | P:  34 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  16 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  17 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  18 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  19 | P:  43 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  27 | P:  33 | AL01 | Implicit/explicit aliasing of table. [aliasing.table]
L:  27 | P:  33 | CP01 | Keywords must be lower case. [capitalisation.keywords]
L:  29 | P:  32 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  30 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  31 | P:  37 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  32 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  34 | P:  11 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
== [tests/check_medical_allowed_amount.sql] FIXED
== [tests/check_pharmacy_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  15 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  16 | P:  34 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  17 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  18 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  19 | P:  41 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  20 | P:  43 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  28 | P:  34 | AL01 | Implicit/explicit aliasing of table. [aliasing.table]
L:  28 | P:  34 | CP01 | Keywords must be lower case. [capitalisation.keywords]
L:  30 | P:  32 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  31 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  32 | P:  37 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  33 | P:  39 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  35 | P:  11 | LT12 | Files must end with a single trailing newline.
                       | [layout.end_of_file]
== [tests/check_pharmacy_allowed_amount.sql] FIXED
28 fixable linting violations found

=========================================================================

Copy link

github-actions bot commented Aug 4, 2025

SQLFluff Linting Failed

Issues were found that require manual correction or are unfixable by sqlfluff fix.
Please review the output below (or the full logs), fix the issues locally, and commit the changes.

SQLFluff Run Log - Mode: ci, Fix: false, Time: Mon Aug  4 17:32:19 UTC 2025

===== SQLFLUFF LINT (Initial Check) OUTPUT (2025-08-04_17:37:23) (Filtered) =====

=== [dbt templater] Sorting Nodes...
=== [dbt templater] Compiling dbt project...
=== [dbt templater] Project Compiled.
== [tests/check_medical_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  13 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
== [tests/check_pharmacy_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  13 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
All Finished!

=========================================================================


===== SQLFLUFF FIX (Check, Informational) OUTPUT (2025-08-04_17:42:29) (Filtered) =====

==== finding fixable violations ====
=== [dbt templater] Sorting Nodes...
=== [dbt templater] Compiling dbt project...
=== [dbt templater] Project Compiled.
== [tests/check_medical_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  13 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
== [tests/check_medical_allowed_amount.sql] FIXED
== [tests/check_pharmacy_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  13 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
== [tests/check_pharmacy_allowed_amount.sql] FIXED
4 fixable linting violations found

=========================================================================

Copy link

github-actions bot commented Aug 4, 2025

SQLFluff Linting Failed

Issues were found that require manual correction or are unfixable by sqlfluff fix.
Please review the output below (or the full logs), fix the issues locally, and commit the changes.

SQLFluff Run Log - Mode: ci, Fix: false, Time: Mon Aug  4 17:46:32 UTC 2025

===== SQLFLUFF LINT (Initial Check) OUTPUT (2025-08-04_17:51:51) (Filtered) =====

=== [dbt templater] Sorting Nodes...
=== [dbt templater] Compiling dbt project...
=== [dbt templater] Project Compiled.
== [tests/check_medical_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  14 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
== [tests/check_pharmacy_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  14 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
All Finished!

=========================================================================


===== SQLFLUFF FIX (Check, Informational) OUTPUT (2025-08-04_17:57:12) (Filtered) =====

==== finding fixable violations ====
=== [dbt templater] Sorting Nodes...
=== [dbt templater] Compiling dbt project...
=== [dbt templater] Project Compiled.
== [tests/check_medical_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  14 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
== [tests/check_medical_allowed_amount.sql] FIXED
== [tests/check_pharmacy_allowed_amount.sql] FAIL
L:   1 | P:  60 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
L:  14 | P:   7 | LT01 | Unnecessary trailing whitespace. [layout.spacing]
== [tests/check_pharmacy_allowed_amount.sql] FIXED
4 fixable linting violations found

=========================================================================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 👀 Ready for Review
Development

Successfully merging this pull request may close these issues.

2 participants