[
https://issues.apache.org/jira/browse/IMPALA-12717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Noemi Pap-Takacs resolved IMPALA-12717.
---------------------------------------
Resolution: Fixed
> 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: be
> 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: [email protected]
For additional commands, e-mail: [email protected]