You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "QCLyu (via GitHub)" <gi...@apache.org> on 2026/01/08 07:49:32 UTC
[I] Remove remaining Spark 3.2-specific compatibility code [incubator-gluten]
QCLyu opened a new issue, #11379:
URL: https://github.com/apache/incubator-gluten/issues/11379
### Description
Some Spark 3.2-specific compatibility code remains in the common codebase:
#gluten-core/src/main/scala/org/apache/spark/util/SparkVersionUtil.scala
Defines lteSpark32 (used by other files)
#gluten-core/src/main/scala/org/apache/spark/util/SparkTaskUtil.scala
Lines 67-82: Spark 3.2-specific constructor path for TaskContext
#gluten-core/src/main/scala/org/apache/spark/util/SparkPlanUtil.scala
Lines 26-28: Spark 3.2-specific path for supportsRowBased
#gluten-core/src/main/scala/org/apache/spark/sql/execution/adaptive/GlutenCostEvaluator.scala
Lines 33-35: Spark 3.2-specific CostEvaluator instantiation
#gluten-core/src/main/scala/org/apache/gluten/extension/columnar/transition/Convention.scala
Lines 174-184: Spark 3.2-specific row type handling
#backends-velox/src/test/scala/org/apache/gluten/execution/MiscOperatorSuite.scala
Lines 911-919: Test that checks for Spark 3.2
These items are compatibility shims in shared code that can be cleaned up separately.
Related Issue: #8960
### Gluten version
None
--
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: commits-unsubscribe@gluten.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] Remove remaining Spark 3.2-specific compatibility code [incubator-gluten]
Posted by "zhztheplayer (via GitHub)" <gi...@apache.org>.
zhztheplayer commented on issue #11379:
URL: https://github.com/apache/incubator-gluten/issues/11379#issuecomment-3884578687
Thanks for working on the 3.2 deprecation. Will https://github.com/apache/incubator-gluten/pull/11495 also disable 3.2 CI?
--
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: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] Remove remaining Spark 3.2-specific compatibility code [incubator-gluten]
Posted by "QCLyu (via GitHub)" <gi...@apache.org>.
QCLyu commented on issue #11379:
URL: https://github.com/apache/incubator-gluten/issues/11379#issuecomment-3781862422
take
--
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: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] Remove remaining Spark 3.2-specific compatibility code [gluten]
Posted by "PHILO-HE (via GitHub)" <gi...@apache.org>.
PHILO-HE closed issue #11379: Remove remaining Spark 3.2-specific compatibility code
URL: https://github.com/apache/gluten/issues/11379
--
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: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] Remove remaining Spark 3.2-specific compatibility code [incubator-gluten]
Posted by "QCLyu (via GitHub)" <gi...@apache.org>.
QCLyu commented on issue #11379:
URL: https://github.com/apache/incubator-gluten/issues/11379#issuecomment-3982489920
Update: I was able to fix local build errors. Resuming the work to deprecate the rest of Spark 3.2 code.
FYI, after running into multiple rabbit holes, the solution to my local build was simple:
`<!-- Skip javac entirely. In incremental mode (recompileMode=incremental),
Zinc compiles both Scala and Java sources together, making
maven-compiler-plugin redundant. Same approach as Apache Spark. -->
<skipMain>false</skipMain>
<skip>false</skip>`
I just switched "true" to "false" in the skipMain and skip commands above.
--
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: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] Remove remaining Spark 3.2-specific compatibility code [incubator-gluten]
Posted by "QCLyu (via GitHub)" <gi...@apache.org>.
QCLyu commented on issue #11379:
URL: https://github.com/apache/incubator-gluten/issues/11379#issuecomment-3888676007
@zhztheplayer In the quoted issue, there is no Spark 3.2 CI in the current setup.
In .github/workflows/velox_backend_x86.yml the Spark matrix is [ "spark-3.3", "spark-3.4", "spark-3.5", "spark-4.0", "spark-4.1" ]. So there is no spark-3.2 job to disable. The pom.xml has Spark profiles for 3.3, 3.4, 3.5, 4.0, and 4.1, and no spark-3.2 profile. cc @PHILO-HE in case I got confused.
--
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: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org
Re: [I] Remove remaining Spark 3.2-specific compatibility code [incubator-gluten]
Posted by "zhztheplayer (via GitHub)" <gi...@apache.org>.
zhztheplayer commented on issue #11379:
URL: https://github.com/apache/incubator-gluten/issues/11379#issuecomment-3889680869
@QCLyu I found https://github.com/apache/incubator-gluten/issues/11351 which I didn't notice earlier. I have no issues with further cleanups and please go ahead.
--
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: commits-unsubscribe@gluten.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org