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

Miklos Gergely commented on HIVE-22445:
---------------------------------------

If a LazySimpleSerDe object is not initialised, then toString() throws a 
NullPointerException, which is bad, please fix that too.

> LazySimpleSerDe toString Prints Memory Address instead of Value
> ---------------------------------------------------------------
>
>                 Key: HIVE-22445
>                 URL: https://issues.apache.org/jira/browse/HIVE-22445
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 3.2.0
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Trivial
>         Attachments: HIVE-22445.1.patch
>
>
> {code:none}
> 2019-11-01T10:03:49,228  INFO [pool-23-thread-1] exec.FileSinkOperator: Using 
> serializer : class 
> org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe[[[B@983dd25]:[_col0, 
> _col1]:[struct<columntype:string,maxlength:bigint,avglength:double,countnulls:bigint,numdistinctvalues:bigint...
> {code}
> You can see that the second value prints the memory address of the array, not 
> the contents of the array.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to