[ 
https://issues.apache.org/jira/browse/IMPALA-13870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yida Wu updated IMPALA-13870:
-----------------------------
    Description: 
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.

  was:
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 would require incresing the minimum C++ standard for udf.h to 
C++11 in Impala 5.


> 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
>            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