Skip to content

Fixed deserializing to DataFrame to assign columns properly#559

Merged
mwojtyczka merged 3 commits into
mainfrom
bugfix/deserialize
Sep 1, 2025
Merged

Fixed deserializing to DataFrame to assign columns properly#559
mwojtyczka merged 3 commits into
mainfrom
bugfix/deserialize

Conversation

@mwojtyczka

Copy link
Copy Markdown
Contributor

Changes

Fixed deserialize_checks_to_dataframe to properly handle columns for sql_expression.

Linked issues

Resolves #557

Tests

  • manually tested
  • added unit tests
  • added integration tests
  • added end-to-end tests

@mwojtyczka mwojtyczka requested a review from a team as a code owner September 1, 2025 12:35
@mwojtyczka mwojtyczka requested review from pratikk-databricks and removed request for a team September 1, 2025 12:35
@mwojtyczka mwojtyczka requested review from alexott and nehamilak-db and removed request for pratikk-databricks September 1, 2025 12:36
@mwojtyczka mwojtyczka changed the title bugfixed issue with deserializer to dataframe to assign columns properly fixing deserializer to assign columns properly Sep 1, 2025
@mwojtyczka mwojtyczka changed the title fixing deserializer to assign columns properly Fixed deserializing to DataFrame to assign columns properly Sep 1, 2025
@github-actions

github-actions Bot commented Sep 1, 2025

Copy link
Copy Markdown
Contributor

✅ 295/295 passed, 2 flaky, 1 skipped, 2h35m39s total

Flaky tests:

  • 🤪 test_load_checks_from_table_saved_from_dict_with_unresolved_for_each_column (2.414s)
  • 🤪 test_e2e_workflow (7m58.511s)

Running from acceptance #2171

@mwojtyczka mwojtyczka removed the request for review from alexott September 1, 2025 13:24

@nehamilak-db nehamilak-db left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, LGTM.

@mwojtyczka mwojtyczka merged commit 10dcdc6 into main Sep 1, 2025
13 checks passed
@mwojtyczka mwojtyczka deleted the bugfix/deserialize branch September 1, 2025 14:14
mwojtyczka added a commit that referenced this pull request Sep 5, 2025
* Added performance benchmarks ([#548](#548)). Performance tests are run to ensure performance does not degrade by more than 25% by any change. Benchmark results are published in the documentation in the reference section. The benchmark covers all check functions, running all funcitons at once and applying the same funcitons at once for multiple columns using foreach column. A new performance GitHub workflow has been introduced to automate performance benchmarking, generating a new benchmark baseline, updating the existing baseline, and running performance tests to compare with the baseline.
* Declare readme in the project ([#547](#547)). The project configuration has been updated to include README file in the released package so that it is visible in PyPi.
* Fixed deserializing to DataFrame to assign columns properly ([#559](#559)). The `deserialize_checks_to_dataframe` function has been enhanced to correctly handle columns for `sql_expression` by removing the unnecessary check for `DQDatasetRule` instance and directly verifying if `dq_rule_check.columns` is not `None`.
* Fixed lsql dependency ([#564](#564)). The lsql dependency has been updated to address a sqlglot dependency issue that arises when imported in artifacts repositories.
@mwojtyczka mwojtyczka mentioned this pull request Sep 5, 2025
mwojtyczka added a commit that referenced this pull request Sep 5, 2025
* Added performance benchmarks
([#548](#548)). Performance
tests are run to ensure performance does not degrade by more than 25% by
any change. Benchmark results are published in the documentation in the
reference section. The benchmark covers all check functions, running all
funcitons at once and applying the same funcitons at once for multiple
columns using foreach column. A new performance GitHub workflow has been
introduced to automate performance benchmarking, generating a new
benchmark baseline, updating the existing baseline, and running
performance tests to compare with the baseline.
* Declare readme in the project
([#547](#547)). The project
configuration has been updated to include README file in the released
package so that it is visible in PyPi.
* Fixed deserializing to DataFrame to assign columns properly
([#559](#559)). The
`deserialize_checks_to_dataframe` function has been enhanced to
correctly handle columns for `sql_expression` by removing the
unnecessary check for `DQDatasetRule` instance and directly verifying if
`dq_rule_check.columns` is not `None`.
* Fixed lsql dependency
([#564](#564)). The lsql
dependency has been updated to address a sqlglot dependency issue that
arises when imported in artifacts repositories.
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.

[BUG]: The dataframe from the output of the function deserialize_checks_to_dataframe does not populate columns in the arguments.

2 participants