aiguofer commented on issue #691:
URL: https://github.com/apache/arrow-java/issues/691#issuecomment-2756092100

   Actually, thinking through that just helped me find the issue... 
   
   ```
   ❯ ./gradlew dependencies --configuration testRuntimeClasspath | grep arrow
   Picked up _JAVA_OPTIONS: --add-opens=java.base/java.nio=ALL-UNNAMED
   +--- org.apache.arrow:flight-sql:18.2.0
   |    +--- org.apache.arrow:flight-core:18.2.0
   |    |    +--- org.apache.arrow:arrow-format:18.2.0
   |    |    +--- org.apache.arrow:arrow-vector:18.2.0
   |    |    |    +--- org.apache.arrow:arrow-format:18.2.0 (*)
   |    |    |    +--- org.apache.arrow:arrow-memory-core:18.2.0
   |    |    +--- org.apache.arrow:arrow-memory-core:18.2.0 (*)
   |    |    +--- org.apache.arrow:arrow-memory-netty:18.2.0
   |    |    |    +--- org.apache.arrow:arrow-memory-core:18.2.0 (*)
   |    |    |    +--- org.apache.arrow:arrow-memory-netty-buffer-patch:18.2.0
   |    |    |    |    +--- org.apache.arrow:arrow-memory-core:18.2.0 (*)
   |    +--- org.apache.arrow:arrow-memory-core:18.2.0 (*)
   |    \--- org.apache.arrow:arrow-vector:18.2.0 (*)
   +--- org.apache.arrow:arrow-jdbc:18.2.0
   |    +--- org.apache.arrow:arrow-memory-core:18.2.0 (*)
   |    +--- org.apache.arrow:arrow-memory-netty:18.2.0 (*)
   |    +--- org.apache.arrow:arrow-vector:18.2.0 (*)
   +--- org.apache.arrow:flight-sql-jdbc-driver:18.2.0
   |    +--- org.jetbrains.kotlinx:dataframe-arrow:0.9.0-dev-1296
   |    |    +--- org.apache.arrow:arrow-vector:10.0.0 -> 18.2.0 (*)
   |    |    +--- org.apache.arrow:arrow-format:10.0.0 -> 18.2.0 (*)
   |    |    +--- org.apache.arrow:arrow-memory-unsafe:10.0.0
   |    |    |    \--- org.apache.arrow:arrow-memory-core:10.0.0 -> 18.2.0 (*)
   ```
   
   ```
   ❯ ./gradlew dependencyInsight --configuration testRuntimeClasspath 
--dependency org.apache.arrow:arrow-memory-unsafe
   Picked up _JAVA_OPTIONS: --add-opens=java.base/java.nio=ALL-UNNAMED
   
   > Task :dependencyInsight
   org.apache.arrow:arrow-memory-unsafe:10.0.0
      variant "runtime" [
         org.gradle.status                  = release (not requested)
         org.gradle.usage                   = java-runtime
         org.gradle.libraryelements         = jar
         org.gradle.category                = library
   
         Requested attributes not found in the selected variant:
            org.gradle.dependency.bundling     = external
            org.gradle.jvm.environment         = standard-jvm
            org.jetbrains.kotlin.platform.type = jvm
            org.gradle.jvm.version             = 17
      ]
   
   org.apache.arrow:arrow-memory-unsafe:10.0.0
   \--- org.jetbrains.kotlinx:dataframe-arrow:0.9.0-dev-1296
        \--- org.jetbrains.kotlinx:dataframe:0.9.0-dev-1296
             \--- testRuntimeClasspath
   
   A web-based, searchable dependency report is available by adding the --scan 
option.
   
   BUILD SUCCESSFUL in 297ms
   1 actionable task: 1 executed
   ```
   
   It looks like the `dataframe` library we're using was pulling in a 
conflicting version of `arrow-memory-unsafe`. If I add 
`testImplementation("org.apache.arrow:arrow-memory-unsafe:$arrowVersion")` the 
issue is fixed.
   
   Sorry for the noise here!


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to