Support Questions
Find answers, ask questions, and share your expertise

HUE and Presto Integration Error on Page Load

New Contributor



Trying to integrate HUE version 4 with Presto. Functionality-wise it is work, however when page loads we get an error on the top right corner. It seems that HUE tries to run this query when query editor is loaded:


SELECT DatabaseName FROM DBC.Databases


Any idea how I might disable this?


Stack trace:


An error occurred while calling o30.execute. : java.sql.SQLException: [Teradata][Presto](100050) Query failed: line 1:26: Schema dbc does not exist. at com.teradata.presto.PRUtils.parseError(Unknown Source) at com.teradata.presto.dataengine.PRResultSet.parseDataString(Unknown Source) at com.teradata.presto.dataengine.PRResultSet.execute(Unknown Source) at com.teradata.presto.dataengine.PRQueryExecutor.execute(Unknown Source) at com.teradata.jdbc.common.SStatement.executeNoParams(Unknown Source) at com.teradata.jdbc.common.SStatement.execute(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at py4j.reflection.MethodInvoker.invoke( at py4j.reflection.ReflectionEngine.invoke( at py4j.Gateway.invoke( at py4j.commands.AbstractCommand.invokeMethod( at py4j.commands.CallCommand.execute( at Caused by: [Teradata][Presto](100050) Query failed: line 1:26: Schema dbc does not exist. ... 16 more


New Contributor

Since it's configured under the notebook / interpreter, I would expect it to not run any query until I instruct it to, which is the behavior in HUE 3. Is there anyway I can have it not run that query at load?



New Contributor

I am facing the same issue. Were you able to resolve this error? 

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.