File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 3
3
4
4
This script runs all the individual test modules and displays
5
5
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
6
11
"""
12
+
7
13
import os
8
14
import sys
9
15
import logging
Original file line number Diff line number Diff line change 6
6
import logging
7
7
from databricks .sql .client import Connection
8
8
9
- logging .basicConfig (level = logging .DEBUG )
9
+ logging .basicConfig (level = logging .INFO )
10
10
logger = logging .getLogger (__name__ )
11
11
12
12
@@ -93,7 +93,7 @@ def test_sea_sync_query_without_cloud_fetch():
93
93
Test executing a query synchronously using the SEA backend with cloud fetch disabled.
94
94
95
95
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.
97
97
"""
98
98
server_hostname = os .environ .get ("DATABRICKS_SERVER_HOSTNAME" )
99
99
http_path = os .environ .get ("DATABRICKS_HTTP_PATH" )
You can’t perform that action at this time.
0 commit comments