Skip to content

[VL] Result mismatch on monotonically_increasing_id #7628

@zhztheplayer

Description

@zhztheplayer

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<monotonically_increasing_id():bigint,monotonically_increasing_id():bigint>
![0,0]                      [0,2]
![1,1]                      [1,3]
![8589934592,8589934592]    [8589934592,8589934594]
![8589934593,8589934593]    [8589934593,8589934595]

Found in effort of #7620

#4652

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions