-
Notifications
You must be signed in to change notification settings - Fork 80
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
refactor: removed get_test_accessor
and renamed vars with meaningful txt
#284
refactor: removed get_test_accessor
and renamed vars with meaningful txt
#284
Conversation
d6783ff
to
a924933
Compare
- The leftExpr and rightExpr for the 3 tests in the logs is the same but it is still failing. - debugging to use previous s,i,i0,i1 to check whether it is passing or failing.
e8dd3ea
to
e0ee44c
Compare
@iajoiner @JayWhite2357 please review |
There are three tests:
As you can see in the workflow logs here, even though I made changes in this commit, the tests were failing. After carefully reading through the workflow logs, I noticed that the So, I explicitly assigned previous given names to only these tests, and after that all the tests passed successfully. |
Could you guide me on how to proceed here |
That looks really weird. Let me take a look. |
- The leftExpr and rightExpr for the 3 tests in the logs is the same but it is still failing. - debugging to use previous s,i,i0,i1 to check whether it is passing or failing.
1f2da13
to
8c54c5a
Compare
@akhilender-bongirwar I really doubt that's the case. Could you please fix these three tests and ping me if you get errors? |
…ithub.com:akhilender-bongirwar/sxt-proof-of-sql into refactor/remove-get-test-accessor-and-rename-vars
Sure. |
In this latest commit, I just renamed the variables to make them slightly less generic, as you can see, but the tests are still failing. @iajoiner PTAL |
@akhilender-bongirwar Oh I see. In these situations ordering of certain columns might be dependent on their alphabetical ordering. Since in all these cases you have very large print outs that are only slightly different you want to do is to feed left hand side and right hand side into ChatGPT and let it summarize differences for you. Then you should solve them. |
7120962
to
e493a88
Compare
e493a88
to
26c26c5
Compare
- group_by_expressions_are_parsed_before_an_order_by_referencing_an_aggregate_alias_result
c2a9e83
to
525b882
Compare
- count_aggregation_always_have_integer_type
@iajoiner, I didn’t realize the order would cause the test to fail 😅. Passed all checks. Thanks so much for your help! 😊 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akhilender-bongirwar Thanks for your hard work and patience! :)
@JayWhite2357 please review |
@JayWhite2357 could you please review |
🎉 This PR is included in version 0.34.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
@iajoiner @JayWhite2357, I actually did not recieve the bounty till now. Could you look into it. |
Please be sure to look over the pull request guidelines here: https://github.com/spaceandtimelabs/sxt-proof-of-sql/blob/main/CONTRIBUTING.md#submit-pr.
Please go through the following checklist
!
is used if and only if at least one breaking change has been introduced.source scripts/run_ci_checks.sh
.Rationale for this change
fixes #236
/claim #236
This PR fixes Part 2 of issue #236
get_test_accessor
so that it is explicit what the tables, columns, and data types are in theSchemaAccessor
. For example, the above query has at
table with the columnsi
,i0
, andi1
, all withBigInt
type. These columns should also be renamed to be slightly less generic and/or more helpful.Part 1 and 3 are already fixed in PR #261
What changes are included in this PR?
get_test_accessor
function, replacing it with a schema-specific accessor.i
,i0
,i1
, ands
to more meaningful names likesalary
,department
,tax
, andname
reflecting the context of the data.Are these changes tested?
These changes are in tests.