pvary commented on a change in pull request #3627:
URL: https://github.com/apache/iceberg/pull/3627#discussion_r759974835
##########
File path: spark/v3.1/build.gradle
##########
@@ -130,12 +130,12 @@ project(":iceberg-spark:iceberg-spark-3.1-extensions") {
compileOnly project(':iceberg-orc')
compileOnly project(':iceberg-common')
compileOnly project(':iceberg-spark:iceberg-spark-3.1')
- compileOnly project(':iceberg-hive-metastore')
compileOnly("org.apache.spark:spark-hive_2.12:${sparkVersion}") {
exclude group: 'org.apache.avro', module: 'avro'
exclude group: 'org.apache.arrow'
}
+ testImplementation project(path: ':iceberg-hive-metastore')
testImplementation project(path: ':iceberg-hive-metastore', configuration:
'testArtifacts')
Review comment:
We need to depend on the src and on the test code as well. The src
contains the `HiveCatalog` while the test code contains the `TestHiveMetastore`
classes.
I am not a gradle wizard so I tried to google for a nicer way, but can not
find any. I am open to other suggestions :)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]