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

#363 Update semantic data to use java 17 #386

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

csun-cpointe
Copy link
Contributor

No description provided.

@csun-cpointe csun-cpointe force-pushed the 363-upgrade-semantic-data-java17 branch 2 times, most recently from e9c0937 to 07868a5 Compare October 2, 2024 20:33
@@ -139,7 +139,8 @@ public abstract class ${record.capitalizedName}SchemaBase extends SparkSchema {
}

// Remove validation columns from valid data
Seq<String> columnsToDrop = JavaConversions.asScalaBuffer(validationColumns).toSeq();
Seq<String> columnsToDrop =
JavaConverters.collectionAsScalaIterableConverter(validationColumns).asScala().toSeq();
Copy link
Contributor Author

@csun-cpointe csun-cpointe Oct 2, 2024

Choose a reason for hiding this comment

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

I: The JavaConverters class is only used in the generated files. With given error found in the generated error in the code, it doesn't seem used any where else so add a general message in the draft release note to reminder user the potential incompatibility of the java17 upgrade.

Copy link
Contributor

Choose a reason for hiding this comment

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

What's the error? Are we missing a pom dependency?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No.. I think this is only to replace a deprecate class JavaConversions.asScalaBuffer.

@csun-cpointe csun-cpointe force-pushed the 363-upgrade-semantic-data-java17 branch 3 times, most recently from 9481f16 to 6921c44 Compare October 2, 2024 23:02
@@ -3,7 +3,7 @@
## TBD

# Breaking Changes
Note: instructions for adapting to these changes are outlined in the upgrade instructions below.
Copy link
Contributor

Choose a reason for hiding this comment

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

Want to keep this line

@@ -3,7 +3,7 @@
## TBD

# Breaking Changes
Note: instructions for adapting to these changes are outlined in the upgrade instructions below.
We have upgraded the baseline to Java 17 and the minimal required Maven version is 3.9.6. There could be some deprecated classes or incompatible dependencies. Please update your dependency modules accordingly.

_There are no breaking changes in the 1.10 release._
Copy link
Contributor

Choose a reason for hiding this comment

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

Can remove this line

@@ -3,7 +3,7 @@
## TBD

# Breaking Changes
Note: instructions for adapting to these changes are outlined in the upgrade instructions below.
We have upgraded the baseline to Java 17 and the minimal required Maven version is 3.9.6. There could be some deprecated classes or incompatible dependencies. Please update your dependency modules accordingly.
Copy link
Contributor

@carter-cundiff carter-cundiff Oct 3, 2024

Choose a reason for hiding this comment

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

Rephrase: With the upgrade to Java 17, the new minimum required Maven version is now 3.9.6. This can result in deprecated classes or incompatible dependencies, please update your modules accordingly.

@@ -69,16 +52,6 @@
</dependency>

<!-- Logging Dependencies (from aiops-parent pom) -->
Copy link
Contributor

Choose a reason for hiding this comment

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

Would remove this comment as well

@csun-cpointe csun-cpointe force-pushed the 363-upgrade-semantic-data-java17 branch from 6921c44 to 611bd36 Compare October 3, 2024 16:12
@csun-cpointe csun-cpointe force-pushed the 363-upgrade-semantic-data-java17 branch from 611bd36 to 7a6c9de Compare October 3, 2024 17:03
@csun-cpointe csun-cpointe merged commit ce4e07a into dev Oct 3, 2024
@csun-cpointe csun-cpointe deleted the 363-upgrade-semantic-data-java17 branch October 3, 2024 17:04
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.

Feature: JDK 17 Upgrade Support Series - Semantic data (incl. data transform & encryption)
2 participants