Skip to content

Commit 0c06f07

Browse files
committed
Add FIXME comment
Signed-off-by: Lou Marvin Caraig <[email protected]>
1 parent 2bf13a8 commit 0c06f07

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

superset/superset/db_engine_specs.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,9 +1156,10 @@ def fetch_data(cls, cursor, limit):
11561156
'returning empty result')
11571157
return []
11581158
except pyhive.exc.OperationalError as op_err:
1159-
# The `pyhive.exc.OperationalError` exception is raised when a
1160-
# query is cancelled. This seems to happen because `gsc` expects
1161-
# the state to be `FINISHED` but got `CANCELED`.
1159+
# FIXME: The `pyhive.exc.OperationalError` exception is raised when
1160+
# a query is cancelled. This seems to happen because `gsc` expects
1161+
# the state to be `FINISHED` but got `CANCELED`. This has to be
1162+
# fixed once `gsc` correctly handles cancelation.
11621163
cancelation_error_msg = 'Expected state FINISHED, but found CANCELED'
11631164
if (
11641165
len(op_err.args) > 0 and

0 commit comments

Comments
 (0)