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

Bug Fixes in Histogram Binning #267

Merged
merged 5 commits into from
Feb 18, 2021

Conversation

thyneb19
Copy link
Contributor

Changes

Added filtering out of null values in all SQL queries
Fixed issue where binning would fail with integer type variables

SQLExecutor binning function was breaking if there was any Null value in the data it was trying to query.

Adjusted querying to always filter out Null values from the data.
Fixed issue where width_bucket query was not working with variables of integer type. Resolved by casting the variable to float.

Fixed issue in creating bucket edges for histograms. Resolved by using min_max parameter of the dataframe rather than the min and max of a variable's unique values.
Updated Tests to follow changes to SQLExecutor filtering
@thyneb19 thyneb19 merged commit b985393 into lux-org:sql-engine Feb 18, 2021
@jinimukh jinimukh added this to the S1: January 2021 milestone Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants