maver1ck opened a new issue #4414: Query on hive: Expected state FINISHED, but 
found ERROR
URL: https://github.com/apache/incubator-superset/issues/4414
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [X] I have checked the superset logs for python stacktraces and included 
it here as text if any
   - [X] I have reproduced the issue with at least the latest released version 
of superset
   - [X] I have checked the issue tracker for the same issue and I haven't 
found one similar
   
   
   ### Superset version
   0.22.1
   
   ### Expected results
   I'd like to see real error message when I have bug in my query when using 
Hive engine.
   
   ### Actual results
   ```
   TFetchResultsResp(status=TStatus(statusCode=3, 
infoMessages=['*org.apache.hive.service.cli.HiveSQLException:Expected state 
FINISHED, but found ERROR:15:14', 
'org.apache.hive.service.cli.operation.Operation:assertState:Operation.java:161',
 
'org.apache.spark.sql.hive.thriftserver.SparkExecuteStatementOperation:getNextRowSet:SparkExecuteStatementOperation.scala:113',
 
'org.apache.hive.service.cli.operation.OperationManager:getOperationNextRowSet:OperationManager.java:220',
 
'org.apache.hive.service.cli.session.HiveSessionImpl:fetchResults:HiveSessionImpl.java:685',
 'org.apache.hive.service.cli.CLIService:fetchResults:CLIService.java:455', 
'org.apache.hive.service.cli.thrift.ThriftCLIService:FetchResults:ThriftCLIService.java:621',
 
'org.apache.hive.service.cli.thrift.TCLIService$Processor$FetchResults:getResult:TCLIService.java:1553',
 
'org.apache.hive.service.cli.thrift.TCLIService$Processor$FetchResults:getResult:TCLIService.java:1538',
 'org.apache.thrift.ProcessFunction:process:ProcessFunction.java:39', 
'org.apache.thrift.TBaseProcessor:process:TBaseProcessor.java:39', 
'org.apache.hive.service.auth.TSetIpAddressProcessor:process:TSetIpAddressProcessor.java:53',
 
'org.apache.thrift.server.TThreadPoolServer$WorkerProcess:run:TThreadPoolServer.java:286',
 
'java.util.concurrent.ThreadPoolExecutor:runWorker:ThreadPoolExecutor.java:1142',
 
'java.util.concurrent.ThreadPoolExecutor$Worker:run:ThreadPoolExecutor.java:617',
 'java.lang.Thread:run:Thread.java:745'], sqlState=None, errorCode=0, 
errorMessage='Expected state FINISHED, but found ERROR'), hasMoreRows=None, 
results=None)
   ```
   
   ### Steps to reproduce
   Run query with error on hive engine.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to