You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Lars Volker (JIRA)" <ji...@apache.org> on 2017/09/12 16:44:00 UTC
[jira] [Created] (IMPALA-5922) Scanners should include file and
offset information in errors
Lars Volker created IMPALA-5922:
-----------------------------------
Summary: 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
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
(v6.4.14#64029)