Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.
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)