Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Introduce manual SEA test scripts for Exec Phase #589

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

Merged
merged 37 commits into from
Jun 27, 2025

Conversation

varun-edachali-dbx
Copy link
Collaborator

@varun-edachali-dbx varun-edachali-dbx commented Jun 9, 2025

What type of PR is this?

  • Other - test scripts for eventual feature

Description

For the SEA implementation, before we introduce e2e tests, we introduce manual testing scripts which allow us to execute queries against a real warehouse as an implementation sanity check.

The tests are structured as follows:

sea_connector_test.py
│
├─ test_sea_session.py - tests basic session opening and closure 
│
├─ test_sea_sync_query.py - tests synchronous query execution 
│  ├─ test_sea_sync_query_with_cloud_fetch()    [use_cloud_fetch=True]
│  └─ test_sea_sync_query_without_cloud_fetch() [use_cloud_fetch=False]
│
├─ test_sea_async_query.py - tests async query execution 
│  ├─ test_sea_async_query_with_cloud_fetch()    [use_cloud_fetch=True]
│  └─ test_sea_async_query_without_cloud_fetch() [use_cloud_fetch=False]
│
└─ test_sea_metadata.py - tests metadata commands

This allows us to experiment with metadata queries, session opening and closure, synchronous queries (INLINE as well as EXTERNAL_LINKS) and async queries (INLINE as well as EXTERNAL_LINKS).

How is this tested?

  • Unit tests
  • E2E Tests
  • Manually
  • N/A

Related Tickets & Documents

https://docs.google.com/document/d/1Y-eXLhNqqhrMVGnOlG8sdFrCxBTN1GdQvuKG4IfHmo0/edit?usp=sharing

Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
Signed-off-by: varun-edachali-dbx <[email protected]>
@varun-edachali-dbx varun-edachali-dbx changed the base branch from main to sea-res-set June 9, 2025 10:09
Signed-off-by: varun-edachali-dbx <[email protected]>
@samikshya-db
Copy link
Contributor

Just to confirm : these tests will be replaced by the E2E tests in the future, right?

@varun-edachali-dbx
Copy link
Collaborator Author

Just to confirm : these tests will be replaced by the E2E tests in the future, right?

Yes, that's right. These scripts allow me to test the functionality against an actual warehouse before the e2e tests, which we will introduce after implementing the functionality completely.

@jayantsing-db
Copy link
Contributor

hey, why are e2e tests failing on this PR?

@varun-edachali-dbx
Copy link
Collaborator Author

varun-edachali-dbx commented Jun 27, 2025

hey, why are e2e tests failing on this PR?

Likely flaky tests since this PR doesn't affect any code paths that the integration tests should be running. I'll let them run once again before merging.

Edit: the tests are passing

@varun-edachali-dbx varun-edachali-dbx merged commit 45585d4 into sea-migration Jun 27, 2025
23 checks passed
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.

3 participants