You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "comphead (via GitHub)" <gi...@apache.org> on 2026/03/30 22:52:25 UTC
[I] `native_datafusion` crashes for repartition + count [datafusion-comet]
comphead opened a new issue, #3846:
URL: https://github.com/apache/datafusion-comet/issues/3846
### Describe the bug
```
spark.read.parquet("hdfs://location").repartition(50).count()
org.apache.comet.CometNativeException: External error: Execution error: Error in shuffle write: Arrow error: Invalid argument error: must either specify a row count or at least one column
```
### Steps to reproduce
_No response_
### Expected behavior
should work
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] `native_shuffle` crashes for repartition + count [datafusion-comet]
Posted by "mbutrovich (via GitHub)" <gi...@apache.org>.
mbutrovich commented on issue #3846:
URL: https://github.com/apache/datafusion-comet/issues/3846#issuecomment-4164591023
I renamed this. It's a native shuffle issue, not a `native_datafusion` issue, right? It just manifests when a scan is fully-native?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] `native_datafusion` crashes for repartition + count [datafusion-comet]
Posted by "comphead (via GitHub)" <gi...@apache.org>.
comphead commented on issue #3846:
URL: https://github.com/apache/datafusion-comet/issues/3846#issuecomment-4158959798
The issue related to native shuffle, reproduce
```
test("native datafusion scan - repartition count") {
withTempPath { dir =>
withSQLConf(CometConf.COMET_ENABLED.key -> "false") {
spark
.range(1000)
.selectExpr("id", "concat('name_', id) as name")
.repartition(100)
.write
.parquet(dir.toString)
}
withSQLConf(
CometConf.COMET_NATIVE_SCAN_IMPL.key -> CometConf.SCAN_NATIVE_DATAFUSION,
CometConf.COMET_EXEC_SHUFFLE_WITH_ROUND_ROBIN_PARTITIONING_ENABLED.key -> "true") {
val count = spark.read.parquet(dir.toString).repartition(10).count()
assert(count == 1000)
}
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] `native_shuffle` crashes for repartition + count [datafusion-comet]
Posted by "comphead (via GitHub)" <gi...@apache.org>.
comphead commented on issue #3846:
URL: https://github.com/apache/datafusion-comet/issues/3846#issuecomment-4164890478
> I renamed this. It's a native shuffle issue, not a `native_datafusion` issue, right? It just manifests when a scan is fully-native?
Thanks @mbutrovich upon the investigation, I found the `native_datafusion`/`native_iceberg_compat` failing if native shuffle enabled for RR partitioning
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] `native_shuffle` crashes for repartition + count [datafusion-comet]
Posted by "mbutrovich (via GitHub)" <gi...@apache.org>.
mbutrovich closed issue #3846: `native_shuffle` crashes for repartition + count
URL: https://github.com/apache/datafusion-comet/issues/3846
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org