Skip to content

Conversation

rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Sep 25, 2025

Using constraints as well to ensure the pom.xml file contains the same dependency updates.

Spark 4.1.0 is using io.netty 4.1.122 - not changing that for now, need to see what Black Duck thinks.

Using constraints as well to ensure the pom.xml file contains the same dependency updates.

Spark 4.1.0 is using io.netty 4.1.122 - not changing that for now, need to see what Black Duck thinks.
@Copilot Copilot AI review requested due to automatic review settings September 25, 2025 20:13
Copy link

Copyright Validation Results
Total: 7 | Passed: 4 | Failed: 0 | Skipped: 3 | at: 2025-09-25 20:13:33 UTC | commit: 567859f

⏭️ Skipped (Excluded) Files

  • build.gradle
  • flux-cli/build.gradle
  • gradle.properties

✅ Valid Files

  • flux-cli/src/test/java/com/marklogic/flux/impl/OverrideSparkConfTest.java
  • flux-cli/src/test/java/com/marklogic/flux/impl/importdata/ImportAvroFilesTest.java
  • flux-cli/src/test/java/com/marklogic/flux/impl/importdata/ImportOrcFilesTest.java
  • flux-cli/src/test/java/com/marklogic/flux/impl/importdata/ImportParquetFilesTest.java

✅ All files have valid copyright headers!

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Upgrades Apache Spark from version 4.0.1 to 4.1.0-preview1 to leverage new features and improvements in the preview release.

  • Updated Spark version to 4.1.0-preview1 in gradle.properties
  • Updated test assertions to match new error message format in Spark 4.1.0
  • Restructured build configuration to use constraints for dependency management

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
gradle.properties Updated sparkVersion from 4.0.1 to 4.1.0-preview1
ImportParquetFilesTest.java Updated error message assertion to match new Spark 4.1.0 format
ImportOrcFilesTest.java Updated error message assertion and removed extra blank line
ImportAvroFilesTest.java Updated error message assertion to match new Spark 4.1.0 format
OverrideSparkConfTest.java Updated error message assertion to match new Spark 4.1.0 format
flux-cli/build.gradle Restructured dependency management with constraints and removed distributionDependencies configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

because "Force Spark's Hadoop dependencies from 3.4.1 to ${hadoopVersion}"
}
implementation("org.codehaus.janino:janino:3.1.12") {
because "Bumping from 3.1.9 (what Spark SQL 4.0.1 depends on) to 3.1.12 to minimize CVEs."
Copy link

Copilot AI Sep 25, 2025

Choose a reason for hiding this comment

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

The comment mentions 'Spark SQL 4.0.1' but the version has been updated to 4.1.0-preview1. Update the comment to reflect the correct Spark version being used.

Suggested change
because "Bumping from 3.1.9 (what Spark SQL 4.0.1 depends on) to 3.1.12 to minimize CVEs."
because "Bumping from 3.1.9 (what Spark SQL 4.1.0-preview1 depends on) to 3.1.12 to minimize CVEs."

Copilot uses AI. Check for mistakes.

@rjrudin rjrudin merged commit 6bbe4bf into develop Sep 26, 2025
3 checks passed
@rjrudin rjrudin deleted the feature/proper-hadoop-dependencies branch September 26, 2025 10:23
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.

1 participant