upgrade to 3.4 and fix interface changes by anqini · Pull Request #178 · awslabs/python-deequ · GitHub
Skip to content

upgrade to 3.4 and fix interface changes#178

Closed
anqini wants to merge 2 commits into
awslabs:masterfrom
anqini:master
Closed

upgrade to 3.4 and fix interface changes#178
anqini wants to merge 2 commits into
awslabs:masterfrom
anqini:master

Conversation

@anqini

@anqini anqini commented Dec 14, 2023

Copy link
Copy Markdown

Note: Can we create a separate branch for this change to merge into? The changes are only compatible with scala-deequ version >=2.0.4 and not backward compatible. It will look fractional if we make it work universally since for the same class both new and old interfaces need to be invoked.

Issue #, if available:

#148

Forward compatibility issue for scala deequ version >=2.0.4.

Description of changes:

Update the invocation code according to the change of the Scala "deequ-2.0.6-spark-3.4" version interfaces

The interface changes include

  • Analyzer class
    • Compliance
    • Histogram
    • MaxLength
    • MinLength
    • Mean
  • Check methods
    • hasMaxLength
    • hasMinLength
    • satisfy

Logic change

  • prioritize StringColumnProfile over StandardColumnProfile

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@chenliu0831

Copy link
Copy Markdown

@anqini

anqini commented Dec 15, 2023 via email

Copy link
Copy Markdown
Author

@LeandroLTM

Copy link
Copy Markdown

Hey @anqini @chenliu0831, is there a potential date to merge this PR? Looks like Deequ is already adding support to Spark 3.5

@chenliu0831

Copy link
Copy Markdown

Closing this PR for now - we do not plan to maintain multiple branches and the changes mostly likely have to go to Deequ

@chenliu0831 chenliu0831 closed this Feb 1, 2024
@theopilbeam

Copy link
Copy Markdown

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.

4 participants