Skip to content

assert_eq key_rows sorted_row_indices#954

Merged
richox merged 1 commit intoapache:masterfrom
cxzl25:assert_key_rows
Apr 18, 2025
Merged

assert_eq key_rows sorted_row_indices#954
richox merged 1 commit intoapache:masterfrom
cxzl25:assert_key_rows

Conversation

@cxzl25
Copy link
Contributor

@cxzl25 cxzl25 commented Apr 17, 2025

Which issue does this PR close?

Closes #.

Rationale for this change

Current

# Problematic frame:
# C  [libc.so.6+0xca2c0]  __memcmp_evex_movbe+0x40

Fix

thread 'blaze-native-stage-0-part-0' panicked at native-engine/datafusion-ext-plans/src/sort_exec.rs:327:9:
assertion `left == right` failed
  left: 0
 right: 10000

Caused by: java.lang.RuntimeException: poll record batch error: Execution error: native execution panics: Execution error: Execution error: Execution error: output_with_sender[Sort] error: Execution error: assertion `left == right` failed
  left: 0
 right: 10000
	at org.apache.spark.sql.blaze.JniBridge.nextBatch(Native Method)
	at org.apache.spark.sql.blaze.BlazeCallNativeWrapper$$anon$1.hasNext(BlazeCallNativeWrapper.scala:83)
	at org.apache.spark.util.CompletionIterator.hasNext(CompletionIterator.scala:31)
	at scala.collection.Iterator.foreach(Iterator.scala:943)
	at scala.collection.Iterator.foreach$(Iterator.scala:943)
	at org.apache.spark.util.CompletionIterator.foreach(CompletionIterator.scala:25)
	at scala.collection.generic.Growable.$plus$plus$eq(Growable.scala:62)

What changes are included in this PR?

Are there any user-facing changes?

@richox richox merged commit ed5e6b1 into apache:master Apr 18, 2025
618 checks passed
@richox richox mentioned this pull request Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants