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

Hive QA commented on HIVE-20698:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12942788/HIVE-20698.1.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 15065 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[stat_estimate_related_col]
 (batchId=43)
{noformat}

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/14319/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/14319/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-14319/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12942788 - PreCommit-HIVE-Build

> Better error instead of NPE when timestamp is null for any row when ingesting 
> to druid
> --------------------------------------------------------------------------------------
>
>                 Key: HIVE-20698
>                 URL: https://issues.apache.org/jira/browse/HIVE-20698
>             Project: Hive
>          Issue Type: Improvement
>          Components: Druid integration
>            Reporter: Nishant Bangarwa
>            Assignee: Nishant Bangarwa
>            Priority: Major
>         Attachments: HIVE-20698.1.patch, HIVE-20698.patch
>
>
> Currently when ingesting data to druid we get a wierd NPE when timestamp is 
> null for any row. 
> We should provide an error with a better message which helps user to know 
> what is actually wrong. 
> {code} 
> Caused by: java.lang.NullPointerException
>   at 
> org.apache.hadoop.hive.druid.serde.DruidSerDe.serialize(DruidSerDe.java:364)
>   at 
> org.apache.hadoop.hive.ql.exec.FileSinkOperator.process(FileSinkOperator.java:957)
>   at 
> org.apache.hadoop.hive.ql.exec.vector.VectorFileSinkOperator.process(VectorFileSinkOperator.java:111)
>   at org.apache.hadoop.hive.ql.exec.Operator.vectorForward(Operator.java:965)
>   at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:938)
>   at 
> org.apache.hadoop.hive.ql.exec.vector.VectorSelectOperator.process(VectorSelectOperator.java:158)
>   at 
> org.apache.hadoop.hive.ql.exec.tez.ReduceRecordSource.processVectorGroup(ReduceRecordSource.java:480)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to