Skip to content

Conversation

@jinchengchenghh
Copy link
Contributor

@jinchengchenghh jinchengchenghh commented Nov 21, 2025

  1. Spark4.0 some of spark SparkSession to org.apache.spark.sql.classic.SparkSession
  2. Spark4.0 spark.close is wrapped to spark.stop to not throw exception.
  3. CI cover spark3.5 and Spark4.0 iceberg test

Related issue: #11145

@github-actions
Copy link

Run Gluten Clickhouse CI on x86

@jinchengchenghh jinchengchenghh changed the title [GLUTEN-11145] Iceberg supports Spark4.0 [GLUTEN-11145][VL] Iceberg supports Spark4.0 Nov 21, 2025
export PATH=$JAVA_HOME/bin:$PATH
java -version
$MVN_CMD clean test -Pspark-4.0 -Pscala-2.13 -Pjava-17 -Pbackends-velox \
-Piceberg
Copy link
Contributor

@zhouyuan zhouyuan Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missed ' \'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, Thanks!

@github-actions
Copy link

Run Gluten Clickhouse CI on x86


import scala.Option;
import scala.collection.JavaConversions;
import scala.jdk.CollectionConverters;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because scala 2.12 and 2.13 compatibility


public static Dataset<Row> internalCreateDataFrame(
SparkSession spark, RDD<InternalRow> rdd, StructType schema, boolean isStreaming) {
return ((org.apache.spark.sql.classic.SparkSession) spark)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to cast to org.apache.spark.sql.classic.SparkSession

@jinchengchenghh jinchengchenghh changed the title [GLUTEN-11145][VL] Iceberg supports Spark4.0 [GLUTEN-11145][VL] Iceberg test supports Spark3.5 and Spark4.0 Nov 24, 2025
@github-actions
Copy link

Run Gluten Clickhouse CI on x86

3 similar comments
@github-actions
Copy link

Run Gluten Clickhouse CI on x86

@github-actions
Copy link

Run Gluten Clickhouse CI on x86

@github-actions
Copy link

Run Gluten Clickhouse CI on x86

Option<String> msg =
QueryTest.getErrorMessageInCheckAnswer(
df, JavaConversions.asScalaBuffer(rows).toSeq(), true);
df, JavaConverters.asScalaBuffer(rows).toSeq(), true);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For scala 2.12 and 2.13 compatibility

@github-actions
Copy link

github-actions bot commented Dec 2, 2025

Run Gluten Clickhouse CI on x86

@github-actions
Copy link

github-actions bot commented Dec 2, 2025

Run Gluten Clickhouse CI on x86

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CORE works for Gluten Core INFRA VELOX

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants