eric-maynard commented on PR #13859:
URL: https://github.com/apache/iceberg/pull/13859#issuecomment-3226687478
@stevenzwu that path is not on the classpath by default.
I would have to publish an artifact with `build.gradle` changes, e.g.:
```
tasks.register<Jar>("parquetGoldenFilesJar") {
from(sourceSets.test.get().resources)
archiveClassifier.set("parquet-golden-files")
}
configurations {
create("parquetGoldenFiles")
}
artifacts {
add("parquetGoldenFiles", tasks.named("parquetGoldenFilesJar"))
}
```
Or I could use a lengthy relative path:
```
Path repoRoot = Paths.get("..", "..", "..", "parquet", "src", "test",
"resources");
Path goldenResourcePath =
repoRoot.resolve("encodings").resolve(encoding).resolve(typeName + ".parquet");
```
Which approach do you prefer?
--
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]