[ 
https://issues.apache.org/jira/browse/IMPALA-13870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18089289#comment-18089289
 ] 

Arnab Karmakar commented on IMPALA-13870:
-----------------------------------------

There's no hard requirement for bumping up the C++ standard, we can still go 
ahead and add operator<< support with C++98.

> Add operator << support for StringVal
> -------------------------------------
>
>                 Key: IMPALA-13870
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13870
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Backend
>            Reporter: Yida Wu
>            Assignee: Arnab Karmakar
>            Priority: Major
>
> StringVal may not have a null terminator in its pointer, so its length must 
> be considered when using it. Relying only on the pointer can lead to 
> incorrect usage. Implementing the << operator for StringVal could help reduce 
> such errors.
> However, this may require incresing the minimum C++ standard for udf.h to 
> C++11 in Impala 5.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to