Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.8.0
-
None
Description
SELECT x, p::interval, to_timestamp(time), to_timestamp(utc / 1000) FROM (SELECT u.x, time - (utc / 1000) as p, time, utc FROM T1 l JOIN T2 u ON l.x = u.x) T WHERE p < 0
2014-10-06 15:17:42,334 ERROR org.apache.tajo.master.GlobalEngine: Stack Trace: java.lang.NullPointerException at org.apache.tajo.engine.planner.LogicalPlanner.convertDataType(LogicalPlanner.java:1836) at org.apache.tajo.engine.planner.TypeDeterminant.visitUnaryOperator(TypeDeterminant.java:60) at org.apache.tajo.engine.planner.TypeDeterminant.visitUnaryOperator(TypeDeterminant.java:37) at org.apache.tajo.engine.planner.SimpleAlgebraVisitor.visit(SimpleAlgebraVisitor.java:34) at org.apache.tajo.engine.planner.TypeDeterminant.determineDataType(TypeDeterminant.java:46) at org.apache.tajo.engine.planner.LogicalPlanPreprocessor.visitProjection(LogicalPlanPreprocessor.java:208) at org.apache.tajo.engine.planner.LogicalPlanPreprocessor.visitProjection(LogicalPlanPreprocessor.java:40) at org.apache.tajo.engine.planner.BaseAlgebraVisitor.visit(BaseAlgebraVisitor.java:55) at org.apache.tajo.engine.planner.LogicalPlanner.createPlan(LogicalPlanner.java:129) at org.apache.tajo.engine.planner.LogicalPlanner.createPlan(LogicalPlanner.java:119) at org.apache.tajo.master.GlobalEngine.createLogicalPlan(GlobalEngine.java:497)