Skip to content

Commit 8949d0c

Browse files
Merge branch 'sea-migration' into fetch-json-inline
2 parents 6143331 + 45585d4 commit 8949d0c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

examples/experimental/sea_connector_test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@
33
44
This script runs all the individual test modules and displays
55
a summary of test results with visual indicators.
6+
7+
In order to run the script, the following environment variables need to be set:
8+
- DATABRICKS_SERVER_HOSTNAME: The hostname of the Databricks server
9+
- DATABRICKS_HTTP_PATH: The HTTP path of the Databricks server
10+
- DATABRICKS_TOKEN: The token to use for authentication
611
"""
12+
713
import os
814
import sys
915
import logging

examples/experimental/tests/test_sea_sync_query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import logging
77
from databricks.sql.client import Connection
88

9-
logging.basicConfig(level=logging.DEBUG)
9+
logging.basicConfig(level=logging.INFO)
1010
logger = logging.getLogger(__name__)
1111

1212

@@ -93,7 +93,7 @@ def test_sea_sync_query_without_cloud_fetch():
9393
Test executing a query synchronously using the SEA backend with cloud fetch disabled.
9494
9595
This function connects to a Databricks SQL endpoint using the SEA backend,
96-
executes a query with cloud fetch disabled, and verifies that execution completes successfully.
96+
executes a simple query with cloud fetch disabled, and verifies that execution completes successfully.
9797
"""
9898
server_hostname = os.environ.get("DATABRICKS_SERVER_HOSTNAME")
9999
http_path = os.environ.get("DATABRICKS_HTTP_PATH")

0 commit comments

Comments
 (0)