Skip to content

Commit c4cf8e1

Browse files
committed
remove workflow changes
Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com>
1 parent 141952a commit c4cf8e1

File tree

3 files changed

+8
-26
lines changed

3 files changed

+8
-26
lines changed

.github/workflows/code-quality-checks.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
name: Code Quality Checks
2-
on:
3-
push:
4-
branches:
5-
- main
6-
- sea-migration
7-
- telemetry
8-
pull_request:
9-
branches:
10-
- main
11-
- sea-migration
12-
- telemetry
2+
3+
on: [pull_request]
4+
135
jobs:
146
run-unit-tests:
157
runs-on: ubuntu-latest
@@ -217,4 +209,4 @@ jobs:
217209
- name: Mypy
218210
run: |
219211
mkdir .mypy_cache # Workaround for bad error message "error: --install-types failed (no mypy cache directory)"; see https://github.com/python/mypy/issues/10768#issuecomment-2178450153
220-
poetry run mypy --install-types --non-interactive src
212+
poetry run mypy --install-types --non-interactive src

.github/workflows/integration.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: Integration Tests
2+
23
on:
3-
push:
4-
paths-ignore:
5-
- "**.MD"
6-
- "**.md"
7-
pull_request:
4+
push:
85
branches:
96
- main
10-
- sea-migration
11-
- telemetry
7+
pull_request:
128

139
jobs:
1410
run-e2e-tests:
@@ -59,4 +55,4 @@ jobs:
5955
# run test suite
6056
#----------------------------------------------
6157
- name: Run e2e tests
62-
run: poetry run python -m pytest tests/e2e
58+
run: poetry run python -m pytest tests/e2e

src/databricks/sql/client.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,6 @@ def _fill_results_buffer(self):
13891389
self.results = results
13901390
self.has_more_rows = has_more_rows
13911391

1392-
@log_latency()
13931392
def _convert_columnar_table(self, table):
13941393
column_names = [c[0] for c in self.description]
13951394
ResultRow = Row(*column_names)
@@ -1402,7 +1401,6 @@ def _convert_columnar_table(self, table):
14021401

14031402
return result
14041403

1405-
@log_latency()
14061404
def _convert_arrow_table(self, table):
14071405
column_names = [c[0] for c in self.description]
14081406
ResultRow = Row(*column_names)
@@ -1445,7 +1443,6 @@ def _convert_arrow_table(self, table):
14451443
def rownumber(self):
14461444
return self._next_row_index
14471445

1448-
@log_latency()
14491446
def fetchmany_arrow(self, size: int) -> "pyarrow.Table":
14501447
"""
14511448
Fetch the next set of rows of a query result, returning a PyArrow table.
@@ -1488,7 +1485,6 @@ def merge_columnar(self, result1, result2):
14881485
]
14891486
return ColumnTable(merged_result, result1.column_names)
14901487

1491-
@log_latency()
14921488
def fetchmany_columnar(self, size: int):
14931489
"""
14941490
Fetch the next set of rows of a query result, returning a Columnar Table.
@@ -1514,7 +1510,6 @@ def fetchmany_columnar(self, size: int):
15141510

15151511
return results
15161512

1517-
@log_latency()
15181513
def fetchall_arrow(self) -> "pyarrow.Table":
15191514
"""Fetch all (remaining) rows of a query result, returning them as a PyArrow table."""
15201515
results = self.results.remaining_rows()
@@ -1541,7 +1536,6 @@ def fetchall_arrow(self) -> "pyarrow.Table":
15411536
return pyarrow.Table.from_pydict(data)
15421537
return results
15431538

1544-
@log_latency()
15451539
def fetchall_columnar(self):
15461540
"""Fetch all (remaining) rows of a query result, returning them as a Columnar table."""
15471541
results = self.results.remaining_rows()

0 commit comments

Comments
 (0)