You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Zoram Thanga (JIRA)" <ji...@apache.org> on 2019/03/28 18:23:01 UTC

[jira] [Assigned] (IMPALA-5922) Scanners should include file and offset information in errors

     [ https://issues.apache.org/jira/browse/IMPALA-5922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zoram Thanga reassigned IMPALA-5922:
------------------------------------

    Assignee:     (was: Zoram Thanga)

> Scanners should include file and offset information in errors
> -------------------------------------------------------------
>
>                 Key: IMPALA-5922
>                 URL: https://issues.apache.org/jira/browse/IMPALA-5922
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 2.11.0
>            Reporter: Lars Volker
>            Priority: Major
>
> Currently we have to print the location of a parse error in {{BaseSequenceScanner::GetNextInternal()}}:
> {code}
> state_->LogError(ErrorMsg(TErrorCode::SEQUENCE_SCANNER_PARSE_ERROR, 
>     stream_->filename(), stream_->file_offset(),                    
>     (stream_->eof() ? "(EOF)" : "")));                              
> {code}
> Instead, the scanners should include this information when constructing the error, which will allow us to simplify the error handling in the base class.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org