Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Test "SPARK-24957: average with decimal followed by aggregation returning wrong result" failed. #10262

Closed
firestarman opened this issue Jan 24, 2024 · 0 comments · Fixed by #10267
Assignees
Labels
bug Something isn't working

Comments

@firestarman
Copy link
Collaborator

firestarman commented Jan 24, 2024

Premerge is breaking because the the following test keeps failing for scala2.13.

- SPARK-24957: average with decimal followed by aggregation returning wrong result *** FAILED ***
org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 3.0 failed 1 times, most recent failure: Lost task 0.0 in stage 3.0 (TID 3) (liangcail-ubuntu20 executor driver): java.lang.AssertionError: Type conversion is not allowed from Table{columns=[ColumnVector{rows=1, type=STRING, nullCount=Optional.empty, offHeap=(ID: 780751 7f8b600296c0)}, ColumnVector{rows=1, type=UINT64, nullCount=Optional.empty, offHeap=(ID: 780752 7f8b6001ba80)}, ColumnVector{rows=1, type=UINT64, nullCount=Optional.empty, offHeap=(ID: 780753 7f8b6001c750)}, ColumnVector{rows=1, type=UINT64, nullCount=Optional.empty, offHeap=(ID: 780754 7f8b6001caa0)}, ColumnVector{rows=1, type=INT64, nullCount=Optional.empty, offHeap=(ID: 780755 7f8b6001cf00)}, ColumnVector{rows=1, type=INT64, nullCount=Optional.empty, offHeap=(ID: 780756 7f8b6001d250)}], cudfTable=140236587855568, rows=1} to [StringType, LongType, LongType, LongType, LongType, LongType] columns 0 to 6
	at com.nvidia.spark.rapids.GpuColumnVector.from(GpuColumnVector.java:674)
	at com.nvidia.spark.rapids.GpuColumnVector.from(GpuColumnVector.java:555)
	at com.nvidia.spark.rapids.AggHelper.$anonfun$performGroupByAggregation$4(GpuAggregateExec.scala:394)
	at com.nvidia.spark.rapids.Arm$.withResource(Arm.scala:30)
	at com.nvidia.spark.rapids.AggHelper.$anonfun$performGroupByAggregation$2(GpuAggregateExec.scala:393)
	at com.nvidia.spark.rapids.Arm$.withResource(Arm.scala:30)
	at com.nvidia.spark.rapids.AggHelper.$anonfun$performGroupByAggregation$1(GpuAggregateExec.scala:378)
	at com.nvidia.spark.rapids.Arm$.withResource(Arm.scala:30)
	at com.nvidia.spark.rapids.AggHelper.performGroupByAggregation(GpuAggregateExec.scala:377)
	at com.nvidia.spark.rapids.AggHelper.aggregate(GpuAggregateExec.scala:292)
	at com.nvidia.spark.rapids.AggHelper.$anonfun$aggregateWithoutCombine$4(GpuAggregateExec.scala:311)
	at com.nvidia.spark.rapids.Arm$.withResource(Arm.scala:30)
	at com.nvidia.spark.rapids.AggHelper.$anonfun$aggregateWithoutCombine$3(GpuAggregateExec.scala:309)
	at com.nvidia.spark.rapids.Arm$.withResource(Arm.scala:30)
	at com.nvidia.spark.rapids.AggHelper.$anonfun$aggregateWithoutCombine$2(GpuAggregateExec.scala:308)
	at com.nvidia.spark.rapids.RmmRapidsRetryIterator$AutoCloseableAttemptSpliterator.next(RmmRapidsRetryIterator.scala:477)
	at com.nvidia.spark.rapids.RmmRapidsRetryIterator$RmmRapidsRetryIterator.next(RmmRapidsRetryIterator.scala:613)
	at com.nvidia.spark.rapids.RmmRapidsRetryIterator$RmmRapidsRetryAutoCloseableIterator.next(RmmRapidsRetryIterator.scala:517)
	at scala.collection.Iterator$$anon$10.next(Iterator.scala:611)
	at scala.collection.Iterator$$anon$9.next(Iterator.scala:577)
	at com.nvidia.spark.rapids.GpuMergeAggregateIterator.aggregateInputBatches(GpuAggregateExec.scala:795)
	at com.nvidia.spark.rapids.GpuMergeAggregateIterator.$anonfun$next$2(GpuAggregateExec.scala:752)
	at scala.Option.getOrElse(Option.scala:201)
	at com.nvidia.spark.rapids.GpuMergeAggregateIterator.next(GpuAggregateExec.scala:749)
	at com.nvidia.spark.rapids.GpuMergeAggregateIterator.next(GpuAggregateExec.scala:711)
	at scala.collection.Iterator$$anon$9.next(Iterator.scala:577)
	at com.nvidia.spark.rapids.DynamicGpuPartialSortAggregateIterator.$anonfun$next$6(GpuAggregateExec.scala:2042)
	at scala.Option.map(Option.scala:242)
	at com.nvidia.spark.rapids.DynamicGpuPartialSortAggregateIterator.next(GpuAggregateExec.scala:2042)
	at com.nvidia.spark.rapids.DynamicGpuPartialSortAggregateIterator.next(GpuAggregateExec.scala:1906)
	at com.nvidia.spark.rapids.AbstractProjectSplitIterator.next(basicPhysicalOperators.scala:247)
	at com.nvidia.spark.rapids.AbstractProjectSplitIterator.next(basicPhysicalOperators.scala:227)
	at scala.collection.Iterator$$anon$9.next(Iterator.scala:577)

Describe the bug
A clear and concise description of what the bug is.

Steps/Code to reproduce bug
Please provide a list of steps or a code sample to reproduce the issue.
Avoid posting private or sensitive data.

Expected behavior
A clear and concise description of what you expected to happen.

Environment details (please complete the following information)

  • Environment location: [Standalone, YARN, Kubernetes, Cloud(specify cloud provider)]
  • Spark configuration settings related to the issue

Additional context
Add any other context about the problem here.

@firestarman firestarman added bug Something isn't working ? - Needs Triage Need team to review and classify labels Jan 24, 2024
@jlowe jlowe self-assigned this Jan 24, 2024
@sameerz sameerz removed the ? - Needs Triage Need team to review and classify label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants