Skip to content

Commit 66c2baa

Browse files
default to case sensitive comparison in client side table type filtering
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent 0d4f49a commit 66c2baa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/databricks/sql/backend/filters.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ def _filter_sea_result_set(
5151
A filtered SEA result set
5252
"""
5353
# Get all remaining rows
54-
original_index = result_set.results.cur_row_index
55-
result_set.results.cur_row_index = 0 # Reset to beginning
5654
all_rows = result_set.results.remaining_rows()
5755

5856
# Filter rows
@@ -165,5 +163,5 @@ def filter_tables_by_type(
165163

166164
# Table type is the 6th column (index 5)
167165
return ResultSetFilter.filter_by_column_values(
168-
result_set, 5, valid_types, case_sensitive=False
166+
result_set, 5, valid_types, case_sensitive=True
169167
)

0 commit comments

Comments
 (0)