SNOW-2304052: hybrid execution tests on pre-commit#3778
Closed
sfc-gh-jkew wants to merge 2827 commits into
Closed
Conversation
…troduce `_spark_session_tz` param (#3659)
…function name is out of spec (#3691)
…ument` in functions (#3697)
…ine (#3610) Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
…3706) This is working towards running most of our snowpandas tests with hybrid mode.
…sts for the integration module (#3715) The new test parameter is called '--enable_modin_hybrid_mode' which is only applied to the integ modin module. This is not used yet; but it allows for enabling hybrid in an adhoc way. Eventually there will be a new pre-commit test which enables hybrid just for the integration modin module. This change also disables the sql_counter when running under hybrid mode; because virtually no sql queries are issued.
…das (#3717) SNOW-2305345 - Eliminate duplicate casing parameter checks in snowpandas While working on SHOW OBJECT usage to see if we can fetch row size quickly I noticed we issue SHOW PARAMETERS LIKE 'QUOTED_IDENTIFIERS_IGNORE_CASE' IN SESSION queries every time we fetch the session. This is done to issue a warning, but we really only need to do this once.
This commit reverts 2 commits that broke tests, 1f195fa and 8a24385. 1f195fa broke several tests. 8a24385 broke tests/integ/modin/hybrid/test_switch_operations.py::test_query_count_no_switch[True] and tests/integ/modin/hybrid/test_switch_operations.py::test_query_count_no_switch[False]. GitHub allowed us to merge the commits because I think I never saved the branch protection rule requiring modin-ubuntu-AWS tests to pass before merging to main. I'm struggling with the branch protection rules so I am still trying to fix them.
Implement the random_state parameter DataFrame.sample and Series.sample by sorting with a seeded random order and then selecting the top `n` or `frac * len(dataset)` rows. We use this solution because we can't use the built-in SAMPLE with SEED for this use case. Signed-off-by: sfc-gh-mvashishtha <mahesh.vashishtha@snowflake.com> Co-authored-by: Jonathan Shi <149419494+sfc-gh-joshi@users.noreply.github.com> Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
…me.join() matches SnowflakeQueryCompiler._dummy_row_pos_mode (#3901)
…er/upper/title in faster pandas (#3961)
1b761a0 to
54c617f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds pre-commit tests for hybrid using a subset of known, fast ( < 0.25 s ) tests. This will help prevent regressions; but it represents around 26k tests normally written for push-down mode. These only execute on ubuntu-aws.
Some tests have been explicitly skipped with the @pytest.mark.skip_hybrid marker because they fail on CI but pass on local testing.
Fixes SNOW-2304052