[ 
https://issues.apache.org/jira/browse/KYLIN-5870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17865908#comment-17865908
 ] 

pengfei.zhan commented on KYLIN-5870:
-------------------------------------

h1. Dev Design

After determining out of segment range, record the status to QueryContext and 
continue to release the query logic for asynchronous query until it reaches the 
location where the asynchronous query result is saved, and then write the 
corresponding KE-xxx error code in the _SUCCESS file to give the corresponding 
hints to the interface of the asynchronous query status.

Record status:
!8067.1.png|width=560,height=347!

Determines and writes the status information corresponding to the _SUCCESS file:

!8067.2.png|width=619,height=28!

_SUCCESS file content, the first part of the 2 bytes indicates the byte length 
of the write, for the java DataOutputStream built-in logic, read also use the 
same set of api

> Fix async query status for out of segment range situation
> ---------------------------------------------------------
>
>                 Key: KYLIN-5870
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5870
>             Project: Kylin
>          Issue Type: Bug
>          Components: Query Engine
>    Affects Versions: 5.0.0
>            Reporter: pengfei.zhan
>            Assignee: pengfei.zhan
>            Priority: Major
>             Fix For: 5.0.0
>
>         Attachments: 8067.1.png, 8067.2.png
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to