Yuming Wang created SPARK-28260:
-----------------------------------

             Summary: Add CLOSED state to ExecutionState
                 Key: SPARK-28260
                 URL: https://issues.apache.org/jira/browse/SPARK-28260
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Yuming Wang


Currently, the ThriftServerTab displays a FINISHED state when the operation 
finishes execution, but quite often it still takes a lot of time to fetch the 
results. OperationState has state CLOSED for when after the iterator is closed. 
Could we add CLOSED state to ExecutionState, and override the close() in 
SparkExecuteStatement / GetSchemas / GetTables / GetColumns to do 
HiveThriftServerListener.onOperationClosed?

 

https://github.com/apache/spark/pull/25043#issuecomment-508722874



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to