-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Bump minimum Java version to 17 and remove pre-17 workarounds #3579
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,3 +22,5 @@ mvn_install.log | |
| .vscode/* | ||
| .DS_Store | ||
|
|
||
| .sdkmanrc | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -69,7 +69,7 @@ | |||||
| </mailingLists> | ||||||
|
|
||||||
| <properties> | ||||||
| <maven.compiler.release>11</maven.compiler.release> | ||||||
| <maven.compiler.release>17</maven.compiler.release> | ||||||
| <github.global.server>github</github.global.server> | ||||||
| <jackson.groupId>com.fasterxml.jackson.core</jackson.groupId> | ||||||
| <jackson.datatype.groupId>com.fasterxml.jackson.datatype</jackson.datatype.groupId> | ||||||
|
|
@@ -80,10 +80,10 @@ | |||||
| <jackson-annotations.version>2.22</jackson-annotations.version> | ||||||
| <japicmp.version>0.26.1</japicmp.version> | ||||||
| <javax.annotation.version>1.3.2</javax.annotation.version> | ||||||
| <spotless.version>2.46.1</spotless.version> | ||||||
| <spotless.version>3.5.1</spotless.version> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| <shade.prefix>shaded.parquet</shade.prefix> | ||||||
| <!-- Guarantees no newer classes/methods/constants are used by parquet. --> | ||||||
| <hadoop.version>3.3.0</hadoop.version> | ||||||
| <hadoop.version>3.4.3</hadoop.version> | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we should probably get the hadoop version bump merged first. There's already a PR for that: #3559 |
||||||
| <parquet.format.version>2.13.0</parquet.format.version> | ||||||
| <previous.version>1.17.0</previous.version> | ||||||
| <thrift.executable>thrift</thrift.executable> | ||||||
|
|
@@ -122,23 +122,6 @@ | |||||
|
|
||||||
| <!-- Resource intesive tests are enabled by default but disabled in the CI envrionment --> | ||||||
| <enableResourceIntensiveTests>true</enableResourceIntensiveTests> | ||||||
|
|
||||||
| <extraJavaTestArgs> | ||||||
| -XX:+IgnoreUnrecognizedVMOptions | ||||||
| --add-opens=java.base/java.lang=ALL-UNNAMED | ||||||
| --add-opens=java.base/java.lang.invoke=ALL-UNNAMED | ||||||
| --add-opens=java.base/java.lang.reflect=ALL-UNNAMED | ||||||
| --add-opens=java.base/java.io=ALL-UNNAMED | ||||||
| --add-opens=java.base/java.net=ALL-UNNAMED | ||||||
| --add-opens=java.base/java.nio=ALL-UNNAMED | ||||||
| --add-opens=java.base/java.util=ALL-UNNAMED | ||||||
| --add-opens=java.base/java.util.concurrent=ALL-UNNAMED | ||||||
| --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED | ||||||
| --add-opens=java.base/sun.nio.ch=ALL-UNNAMED | ||||||
| --add-opens=java.base/sun.nio.cs=ALL-UNNAMED | ||||||
| --add-opens=java.base/sun.security.action=ALL-UNNAMED | ||||||
| --add-opens=java.base/sun.util.calendar=ALL-UNNAMED | ||||||
| </extraJavaTestArgs> | ||||||
| </properties> | ||||||
|
|
||||||
| <modules> | ||||||
|
|
@@ -299,6 +282,21 @@ | |||||
| <plugin> | ||||||
| <artifactId>maven-enforcer-plugin</artifactId> | ||||||
| <executions> | ||||||
| <execution> | ||||||
| <id>enforce-java-version</id> | ||||||
| <goals> | ||||||
| <goal>enforce</goal> | ||||||
| </goals> | ||||||
| <configuration> | ||||||
| <rules> | ||||||
| <requireJavaVersion> | ||||||
| <version>[17,)</version> | ||||||
| <message>Java 17 or higher is required to build parquet-java.</message> | ||||||
| </requireJavaVersion> | ||||||
| </rules> | ||||||
| <fail>true</fail> | ||||||
| </configuration> | ||||||
| </execution> | ||||||
| <execution> | ||||||
| <id>enforce-banned-dependencies</id> | ||||||
| <goals> | ||||||
|
|
@@ -447,9 +445,6 @@ | |||||
| <plugin> | ||||||
| <groupId>org.apache.maven.plugins</groupId> | ||||||
| <artifactId>maven-failsafe-plugin</artifactId> | ||||||
| <configuration> | ||||||
| <argLine>${extraJavaTestArgs}</argLine> | ||||||
| </configuration> | ||||||
| <executions> | ||||||
| <execution> | ||||||
| <goals> | ||||||
|
|
@@ -464,7 +459,7 @@ | |||||
| <groupId>org.apache.maven.plugins</groupId> | ||||||
| <artifactId>maven-surefire-plugin</artifactId> | ||||||
| <configuration> | ||||||
| <argLine>${surefire.argLine} ${extraJavaTestArgs}</argLine> | ||||||
| <argLine>${surefire.argLine}</argLine> | ||||||
| <systemPropertyVariables> | ||||||
| <!-- Configure Parquet logging during tests | ||||||
| See http://www.slf4j.org/api/org/slf4j/impl/SimpleLogger.html | ||||||
|
|
@@ -605,7 +600,7 @@ | |||||
| </excludeModules> | ||||||
| <excludes> | ||||||
| <exclude>${shade.prefix}</exclude> | ||||||
| <!-- JDK 11 adds interface methods/bridges on PrimitiveIterator.OfInt; ignore japicmp source incompatibility --> | ||||||
| <!-- JDK adds interface methods/bridges on PrimitiveIterator.OfInt; ignore japicmp source incompatibility --> | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is this comment still correct without the |
||||||
| <exclude>org.apache.parquet.internal.column.columnindex.IndexIterator</exclude> | ||||||
| <!-- Removal of a protected method in a class that's not supposed to be subclassed by third-party code --> | ||||||
| <exclude>org.apache.parquet.column.values.bytestreamsplit.ByteStreamSplitValuesReader#gatherElementDataFromStreams(byte[])</exclude> | ||||||
|
|
||||||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#3559 has an alternative approach for this.