Daniel Becker has uploaded a new patch set (#2). ( http://gerrit.cloudera.org:8080/19487 )
Change subject: IMPALA-11869: Use to_string() in PrintValue for printing Thrift types ...................................................................... IMPALA-11869: Use to_string() in PrintValue for printing Thrift types IMPALA-11645 introduced the function PrintValue() which we use to convert Thrift types to strings. This function used 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 change reimplements PrintValue() using to_string() instead of operator<<. Change-Id: Ibc5b847dea2bdea7ba0ab8e093a8bab5a8145019 --- M be/src/util/debug-util.h 1 file changed, 3 insertions(+), 4 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/87/19487/2 -- To view, visit http://gerrit.cloudera.org:8080/19487 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Ibc5b847dea2bdea7ba0ab8e093a8bab5a8145019 Gerrit-Change-Number: 19487 Gerrit-PatchSet: 2 Gerrit-Owner: Daniel Becker <daniel.bec...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Noemi Pap-Takacs <npaptak...@cloudera.com>