Skip to content

Commit fbd0da6

Browse files
committed
feat: added option for api auth
1 parent fcffe8e commit fbd0da6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/webapp/databricks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def fetch_table_data(
259259
raise ValueError("Query succeeded but result data is missing.")
260260

261261
# Extract column names and data rows
262-
column_names = [column.name for column in response.manifest.schema]
262+
column_names = [column["name"] for column in response.manifest.schema.columns]
263263
data_rows = response.result.data_array
264264

265265
# Combine column names with corresponding row values

0 commit comments

Comments
 (0)