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 "Michael Smith (Jira)" <ji...@apache.org> on 2024/07/16 23:54:00 UTC
[jira] [Updated] (IMPALA-12717) Fix error message for missing table descriptor
[ https://issues.apache.org/jira/browse/IMPALA-12717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Smith updated IMPALA-12717:
-----------------------------------
Component/s: Backend
(was: be)
> Fix error message for missing table descriptor
> ----------------------------------------------
>
> Key: IMPALA-12717
> URL: https://issues.apache.org/jira/browse/IMPALA-12717
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Reporter: Noemi Pap-Takacs
> Assignee: Noemi Pap-Takacs
> Priority: Minor
> Labels: ErrorMessage, error_message_improvement
>
> HdfsTableSink::Prepare throws an error if the table descriptor is missing.
> The error message should be something like: ‘ERROR: Failed to get table descriptor for table id: 0’
> Instead it looks like: ‘ERROR: 0ailed to get table descriptor for table id:’
> It happens because stringstream operator << overwrites the string in the constructor, in this case the beginning of the message with the table id.
> See: [Difference between constructor and operator << |https://stackoverflow.com/questions/49704052/c-stdstringstream-operator-vs-constructor]
> It would be nice to fix these error messages in the Backend.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org