Presto Query Error

Hi Team,

I am trying to run a simple count query against Presto from Hue. When the same query is run on Presto directly the results are retrieved. However, from Hue it throws the following error:

[02/Jul/2020 14:38:34 -0700] sql_alchemy ERROR Query Error
Traceback (most recent call last):
File “/usr/share/hue/desktop/libs/notebook/src/notebook/connectors/sql_alchemy.py”, line 99, in decorator
return func(*args, **kwargs)
File “/usr/share/hue/desktop/libs/notebook/src/notebook/connectors/sql_alchemy.py”, line 261, in check_status
raise QueryExpired()
QueryExpired
[02/Jul/2020 14:38:34 -0700] decorators ERROR Error running check_status
Traceback (most recent call last):
File “/usr/share/hue/desktop/libs/notebook/src/notebook/decorators.py”, line 114, in wrapper
return f(*args, **kwargs)
File “/usr/share/hue/desktop/libs/notebook/src/notebook/api.py”, line 248, in check_status
response = _check_status(request, notebook=notebook, snippet=snippet, operation_id=operation_id)
File “/usr/share/hue/desktop/libs/notebook/src/notebook/api.py”, line 262, in _check_status
response[‘query_status’] = get_api(request, snippet).check_status(notebook, snippet)
File “/usr/share/hue/desktop/libs/notebook/src/notebook/connectors/sql_alchemy.py”, line 114, in decorator
raise QueryError(message)
QueryError

Can someone point me on why the query had expired here?

Thanks,
Ravi

Checking to see if I will be lucky to hear back from the community on this request.

Thanks in advance,
Ravi