-
Notifications
You must be signed in to change notification settings - Fork 14.9k
fix(dashboard): filter numeric values correctly #33230
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
base: master
Are you sure you want to change the base?
Conversation
fix(dashboard): filter numeric values correctly
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.
Review by Korbit AI
Korbit automatically attempts to detect when you fix issues in new commits.
Category | Issue | Status |
---|---|---|
Redundant numeric casting fallback ▹ view | ✅ Fix detected |
Files scanned
File Path | Reviewed |
---|---|
superset/connectors/sqla/models.py | ✅ |
Explore our documentation to understand the languages and file types we support and the files we ignore.
Check out our docs on how you can make Korbit work best for you and your team.
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.
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.
I have made the fix
rusackas, I have created the PR that fixes the issue. Can you kindly check and let me know if the checks are successful, since I am not able to test them on my own. Locally I ran the pre-commit hook and it was successful. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #33230 +/- ##
==========================================
+ Coverage 60.48% 65.72% +5.23%
==========================================
Files 1931 553 -1378
Lines 76236 39935 -36301
Branches 8568 0 -8568
==========================================
- Hits 46114 26248 -19866
+ Misses 28017 13687 -14330
+ Partials 2105 0 -2105
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Possible duplicate of #33222 |
SUMMARY
The following changes have been made:
Upon debugging the models.py file, it was observed that the integer values were not being converted to float, which led to a mismatch among values.
Screenshot of the correct changes after the fix
ADDITIONAL INFORMATION