apache / apache/gluten

[VL] Result mismatch on monotonically_increasing_id

Open
#7,628 0 comments 0 reactions 0 assignees View on GitHub
bug triage
Dominant language
Scala
Stars
1.6k
Forks
657
Avg merge
2d 14h
Merged PRs (30d)
80

Description

Error:
```
GlutenColumnExpressionSuite.monotonically_increasing_id

Results do not match for query:
Timezone: sun.util.calendar.ZoneInfo[id="America/Los_Angeles",offset=-28800000,dstSavings=3600000,useDaylight=true,transitions=185,lastRule=java.util.SimpleTimeZone[id=America/Los_Angeles,offset=-28800000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]]
Timezone Env:

== Parsed Logical Plan ==
'Project [unresolvedalias(monotonically_increasing_id(), Some(org.apache.spark.sql.Column$$Lambda$7598/1906035518@69d7dddf)), unresolvedalias('monotonically_increasing_id(), Some(org.apache.spark.sql.Column$$Lambda$7598/1906035518@69d7dddf))]
+- Project [_1#605907 AS a#605910]
+- SerializeFromObject [knownnotnull(assertnotnull(input[0, scala.Tuple1, true]))._1 AS _1#605907]
+- ExternalRDD [obj#605906]

== Analyzed Logical Plan ==
monotonically_increasing_id(): bigint, monotonically_increasing_id(): bigint
Project [monotonically_increasing_id() AS monotonically_increasing_id()#605912L, monotonically_increasing_id() AS monotonically_increasing_id()#605913L]
+- Project [_1#605907 AS a#605910]
+- SerializeFromObject [knownnotnull(assertnotnull(input[0, scala.Tuple1, true]))._1 AS _1#605907]
+- ExternalRDD [obj#605906]

== Optimized Logical Plan ==
Project [monotonically_increasing_id() AS monotonically_increasing_id()#605912L, monotonically_increasing_id() AS monotonically_increasing_id()#605913L]
+- SerializeFromObject
+- ExternalRDD [obj#605906]

== Physical Plan ==
VeloxColumnarToRow
+- ^(18972) ProjectExecTransformer [monotonically_increasing_id() AS monotonically_increasing_id()#605912L, monotonically_increasing_id() AS monotonically_increasing_id()#605913L]
+- ^(18972) InputIteratorTransformer[]
+- RowToVeloxColumnar
+- *(1) SerializeFromObject
+- Scan[obj#605906]

== Results ==

== Results ==
!== Correct Answer - 4 == == Gluten Answer - 4 ==
!struct<> struct
![0,0] [0,2]
![1,1] [1,3]
![8589934592,8589934592] [8589934592,8589934594]
![8589934593,8589934593] [8589934593,8589934595]
```

Found in effort of https://github.com/apache/incubator-gluten/pull/7620

https://github.com/apache/incubator-gluten/issues/4652

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.