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

[VL] Iceberg bucket scan failed #8811

Open
FelixYBW opened this issue Feb 22, 2025 · 1 comment
Open

[VL] Iceberg bucket scan failed #8811

FelixYBW opened this issue Feb 22, 2025 · 1 comment
Labels
bug Something isn't working triage

Comments

@FelixYBW
Copy link
Contributor

Backend

VL (Velox)

Bug description

"spark.sql.sources.v2.bucketing.pushPartValues.enabled": "false",
"spark.sql.sources.v2.bucketing.partiallyClusteredDistribution.enabled": "false"


Py4JJavaError: An error occurred while calling o401.count.
: org.apache.gluten.exception.GlutenException: The partition length of all the leaf transformer are not the same.
	at org.apache.gluten.execution.WholeStageTransformer.getSplitInfosFromPartitions(WholeStageTransformer.scala:508)
	at org.apache.gluten.execution.WholeStageTransformer.doExecuteColumnar(WholeStageTransformer.scala:379)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeColumnar$1(SparkPlan.scala:222)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:246)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
	at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:243)
	at org.apache.spark.sql.execution.SparkPlan.executeColumnar(SparkPlan.scala:218)
	at org.apache.gluten.execution.VeloxResizeBatchesExec.doExecuteColumnar(VeloxResizeBatchesExec.scala:70)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeColumnar$1(SparkPlan.scala:222)
	at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(SparkPlan.scala:246)
	at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:151)
	at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala:243)
	at org.apache.spark.sql.execution.SparkPlan.executeColumnar(SparkPlan.scala:218)

Spark version

None

Spark configurations

No response

System information

No response

Relevant logs

@FelixYBW FelixYBW added bug Something isn't working triage labels Feb 22, 2025
@jinchengchenghh
Copy link
Contributor

I will fallback when spark.sql.sources.v2.bucketing.partiallyClusteredDistribution.enabled is true, and try to fix this issue.
I have reproduced by UT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants