@@ -37,22 +37,37 @@ dependencies {
3737 api " com.fasterxml.jackson.core:jackson-annotations:${ versions.jackson} "
3838
3939 // Apache Arrow dependencies for memory management
40- implementation " org.apache.arrow:arrow-memory-core:17.0.0"
41- implementation " org.apache.arrow:arrow-memory-unsafe:17.0.0"
42- implementation " org.apache.arrow:arrow-vector:17.0.0"
43- implementation " org.apache.arrow:arrow-c-data:17.0.0"
44- implementation " org.apache.arrow:arrow-format:17.0.0"
40+ implementation " org.apache.arrow:arrow-c-data:${ versions.arrow} "
4541 // SLF4J API for Arrow logging compatibility
4642 implementation " org.slf4j:slf4j-api:${ versions.slf4j} "
4743 // CheckerFramework annotations required by Arrow 17.0.0
4844 implementation " org.checkerframework:checker-qual:3.42.0"
4945 // FlatBuffers dependency required by Arrow 17.0.0
5046 implementation " com.google.flatbuffers:flatbuffers-java:${ versions.flatbuffers} "
51-
47+ // testRuntimeOnly "com.google.guava:guava:${versions.guava}"
48+ testImplementation ' io.substrait:core:0.67.0'
49+ testImplementation(' io.substrait:isthmus:0.67.0' ) {
50+ exclude group : ' org.apache.calcite'
51+ }
52+ testImplementation ' org.apache.calcite:calcite-linq4j:1.41.0'
53+ testImplementation ' org.apache.calcite:calcite-server:1.41.0'
54+ testImplementation " com.fasterxml.jackson.datatype:jackson-datatype-jdk8:${ versions.jackson} "
55+ testImplementation ' org.jooq:jooq-meta:3.19.15'
56+ testImplementation ' org.jooq:jooq:3.19.15'
57+ testImplementation ' org.jooq:joou:0.9.4'
58+ testImplementation ' com.jayway.jsonpath:json-path:2.9.0'
59+ testImplementation ' org.codehaus.janino:commons-compiler:3.1.10'
60+ testImplementation group : ' org.apache.commons' , name : ' commons-math3' , version : ' 3.6.1'
61+
62+ testImplementation ' org.apache.calcite.avatica:avatica-core:1.26.0'
63+ api(' org.apache.calcite:calcite-core:1.41.0' ) {
64+ exclude group : ' net.minidev' , module : ' json-smart'
65+ }
5266 testImplementation " junit:junit:${ versions.junit} "
5367 testImplementation " org.hamcrest:hamcrest:${ versions.hamcrest} "
5468 testImplementation " org.mockito:mockito-core:${ versions.mockito} "
5569 testImplementation project(" :modules:parquet-data-format" )
70+ api project(" :plugins:arrow-flight-rpc" )
5671 // Add CSV plugin for testing
5772 // testImplementation project(':plugins:dataformat-csv')
5873}
@@ -170,7 +185,19 @@ clean {
170185 delete file(' src/main/resources/native' )
171186}
172187
188+ internalClusterTest {
189+ systemProperty ' io.netty.allocator.numDirectArenas' , ' 1'
190+ systemProperty ' io.netty.noUnsafe' , ' false'
191+ systemProperty ' io.netty.tryUnsafe' , ' true'
192+ systemProperty ' io.netty.tryReflectionSetAccessible' , ' true'
193+ jvmArgs + = [" --add-opens" , " java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED" ]
194+ }
195+ testingConventions. enabled = false
173196test {
197+ systemProperty ' io.netty.allocator.numDirectArenas' , ' 1'
198+ systemProperty ' io.netty.noUnsafe' , ' false'
199+ systemProperty ' io.netty.tryUnsafe' , ' true'
200+ systemProperty ' io.netty.tryReflectionSetAccessible' , ' true'
174201 // Set system property to help tests find the native library
175202 jvmArgs + = [" --add-opens" , " java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED" ]
176203
@@ -183,36 +210,36 @@ yamlRestTest {
183210 enabled = false
184211}
185212
186- tasks. named(" dependencyLicenses" ). configure {
187- mapping from : / jackson-.*/ , to : ' jackson'
188- mapping from : / arrow-.*/ , to : ' arrow'
189- mapping from : / slf4j-.*/ , to : ' slf4j-api'
190- mapping from : / checker-qual.*/ , to : ' checker-qual'
191- mapping from : / flatbuffers-.*/ , to : ' flatbuffers-java'
192- }
213+ // tasks.named("dependencyLicenses").configure {
214+ // mapping from: /jackson-.*/, to: 'jackson'
215+ // mapping from: /arrow-.*/, to: 'arrow'
216+ // mapping from: /slf4j-.*/, to: 'slf4j-api'
217+ // mapping from: /checker-qual.*/, to: 'checker-qual'
218+ // mapping from: /flatbuffers-.*/, to: 'flatbuffers-java'
219+ // }
193220
194221// Configure third party audit to handle Apache Arrow dependencies
195222tasks. named(' thirdPartyAudit' ). configure {
196223 ignoreMissingClasses(
197224 // Apache Commons Codec (missing dependency)
198225 ' org.apache.commons.codec.binary.Hex'
199226 )
200- ignoreViolations(
201- // Apache Arrow internal classes that use Unsafe operations
202- ' org.apache.arrow.memory.ArrowBuf' ,
203- ' org.apache.arrow.memory.unsafe.UnsafeAllocationManager' ,
204- ' org.apache.arrow.memory.util.ByteFunctionHelpers' ,
205- ' org.apache.arrow.memory.util.MemoryUtil' ,
206- ' org.apache.arrow.memory.util.MemoryUtil$1' ,
207- ' org.apache.arrow.memory.util.hash.MurmurHasher' ,
208- ' org.apache.arrow.memory.util.hash.SimpleHasher' ,
209- ' org.apache.arrow.vector.BaseFixedWidthVector' ,
210- ' org.apache.arrow.vector.BitVectorHelper' ,
211- ' org.apache.arrow.vector.Decimal256Vector' ,
212- ' org.apache.arrow.vector.DecimalVector' ,
213- ' org.apache.arrow.vector.util.DecimalUtility' ,
214- ' org.apache.arrow.vector.util.VectorAppender'
215- )
227+ // ignoreViolations(
228+ // // Apache Arrow internal classes that use Unsafe operations
229+ // 'org.apache.arrow.memory.ArrowBuf',
230+ // 'org.apache.arrow.memory.unsafe.UnsafeAllocationManager',
231+ // 'org.apache.arrow.memory.util.ByteFunctionHelpers',
232+ // 'org.apache.arrow.memory.util.MemoryUtil',
233+ // 'org.apache.arrow.memory.util.MemoryUtil$1',
234+ // 'org.apache.arrow.memory.util.hash.MurmurHasher',
235+ // 'org.apache.arrow.memory.util.hash.SimpleHasher',
236+ // 'org.apache.arrow.vector.BaseFixedWidthVector',
237+ // 'org.apache.arrow.vector.BitVectorHelper',
238+ // 'org.apache.arrow.vector.Decimal256Vector',
239+ // 'org.apache.arrow.vector.DecimalVector',
240+ // 'org.apache.arrow.vector.util.DecimalUtility',
241+ // 'org.apache.arrow.vector.util.VectorAppender'
242+ // )
216243}
217244
218245// Configure Javadoc to skip package documentation requirements ie package-info.java
0 commit comments