Skip to content

SNOW-2304052: hybrid execution tests on pre-commit#3778

Closed
sfc-gh-jkew wants to merge 2827 commits into
mainfrom
jkew/add-hybrid-precheck
Closed

SNOW-2304052: hybrid execution tests on pre-commit#3778
sfc-gh-jkew wants to merge 2827 commits into
mainfrom
jkew/add-hybrid-precheck

Conversation

@sfc-gh-jkew

@sfc-gh-jkew sfc-gh-jkew commented Sep 12, 2025

Copy link
Copy Markdown
Contributor

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

  • I am adding a new automated test(s) to verify correctness of my new code
    • If this test skips Local Testing mode, I'm requesting review from @snowflakedb/local-testing
  • I am adding new logging messages
  • I am adding a new telemetry message
  • I am adding new credentials
  • I am adding a new dependency
  • If this is a new feature/behavior, I'm adding the Local Testing parity changes.
  • I acknowledge that I have ensured my changes to be thread-safe. Follow the link for more information: Thread-safe Developer Guidelines
  • If adding any arguments to public Snowpark APIs or creating new public Snowpark APIs, I acknowledge that I have ensured my changes include AST support. Follow the link for more information: AST Support Guidelines

sfc-gh-vilee and others added 30 commits August 25, 2025 09:37
…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.
sfc-gh-jenzhang and others added 27 commits October 22, 2025 16:35
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)
@sfc-gh-aalam sfc-gh-aalam force-pushed the jkew/add-hybrid-precheck branch from 1b761a0 to 54c617f Compare November 12, 2025 23:20
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

NO-CHANGELOG-UPDATES This pull request does not need to update CHANGELOG.md snowpark-pandas

Projects

None yet

Development

Successfully merging this pull request may close these issues.