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

Release v0.14.2 #345

Merged
merged 4 commits into from
Oct 30, 2024
Merged

Release v0.14.2 #345

merged 4 commits into from
Oct 30, 2024

Conversation

fdosani
Copy link
Member

@fdosani fdosani commented Oct 30, 2024

Release v0.14.2

New features

  • SnowflakeCompare support is now available!

Changes

yozzo and others added 3 commits October 29, 2024 09:40
* Fix compariosn report when one column is all NAs

With situations when one of the column in the comparison was
all NA's then this would break the reporting. For some reason
when the matching (boolean) of the actual and expected columns happened when there was a categorical value compared to a NA, the result was NA, rather than False, as it would happen for the other elements in the cols compared.
    
This has now been addressed at the intersect rows level which doesn't seem to break the reporting anymore.

* Fix column_equal to work with StringArrays with pd.NA values not returning booleans

* Add test for fn column_equal to work with StringArrays with pd.NA 

Add test for fn column_equal to work with StringArrays containing pd.NA values not returning booleans when compared with other df's with rows of StringArrays

* Fix linter error

Printing out the report would've been useful for this test, but looks like it makes the linter fail the build. This has now been fixed.

* Fix column_equal to work with StringArrays with pd.NA values

Fix column_equal to work with StringArrays with pd.NA values not returning booleans, and update formatting to match the linter expectation

* Add test for fn column_equal to work with StringArrays with pd.NA

Add test for fn column_equal to work with StringArrays containing pd.NA values not returning booleans when compared with other df's with rows of StringArrays, and format test to match the linter.
* adding snowflake/snowpark compare

* undo change

* add partial case sensitive support

* update doc

* pr comments

* remainder PR comments

* update readme

* mocking abs, trim

* remove local testing, fix text

* ignore snowflake tests

* catch snowpark import in test config

* python 3.12 actions without snowflake

* clean

* fix

* catch snowflake imports, fix snowflake type annotations

* conditional install

* conditional install

* conditional install

* fix conditional
* changes

* doc fix

* version bump
Copy link

@ak-gupta ak-gupta left a comment

Choose a reason for hiding this comment

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

I did a quick skim and everything looks good 🚀

@@ -43,6 +43,24 @@ Run ``python -m pytest`` to run all unittests defined in the subfolder
`pytest-runner <https://pypi.python.org/pypi/pytest-runner>`_.


Snowflake testing

Choose a reason for hiding this comment

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

Thank you for updating the developer docs -- we aren't always consistent with this so it's very helpful.

@@ -56,16 +56,19 @@ python-tag = "py3"
[project.optional-dependencies]
duckdb = ["fugue[duckdb]"]
spark = ["pyspark[connect]>=3.1.1; python_version < \"3.11\"", "pyspark[connect]>=3.4; python_version >= \"3.11\""]
snowflake = ["snowflake-connector-python", "snowflake-snowpark-python"]

Choose a reason for hiding this comment

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

[NON-BLOCKING]: how does snowflake-snowpark-python affect the dependency tree? Does it add a bunch of packages to the snowflake extra?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it most depends on the snowflake-connector-python if you look here: https://github.com/snowflakedb/snowpark-python/blob/main/setup.py#L16

@fdosani fdosani merged commit e7cd7e3 into main Oct 30, 2024
95 checks passed
Copy link
Contributor

@gladysteh99 gladysteh99 left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

5 participants