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 "Daniel Becker (Jira)" <ji...@apache.org> on 2023/01/27 15:22:00 UTC
[jira] [Created] (IMPALA-11869) Use to_string() in PrintValue for printing thrift types
Daniel Becker created IMPALA-11869:
--------------------------------------
Summary: Use to_string() in PrintValue for printing thrift types
Key: IMPALA-11869
URL: https://issues.apache.org/jira/browse/IMPALA-11869
Project: IMPALA
Issue Type: Improvement
Components: Backend
Reporter: Daniel Becker
Assignee: Daniel Becker
The change_ IMPALA-11645: Remove PrintThriftEnum functions in debug-utils.cc_ introduced the function {{PrintValue()}} which we use to convert Thrift types to strings. This function now uses {{operator<<}}, which is provided for the generated thrift types. However, Thrift also generates a {{to_string() }} function that is overloaded for Thrift types. It would be more efficient to use this instead of involving streams with {{operator<<}}.
--
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