Skip to content

Commit

Permalink
debug resource return null
Browse files Browse the repository at this point in the history
  • Loading branch information
yliuuuu committed Nov 9, 2023
1 parent 6cb0720 commit b3108a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion partiql-lang/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,11 @@ tasks.processResources {
}

tasks.processTestResources {
from("${project(":partiql-planner").buildDir}/resources/testFixtures")
from("${project(":partiql-planner").buildDir}/resources/testFixtures") {
this.eachFile {
println(this.sourceName)
}
}
}

tasks.shadowJar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class PartiQLSchemaInferencerTests {
fun testSubqueries(tc: TestCase) = runTest(tc)

companion object {
val inputStream = PartiQLSchemaInferencerTests::class.java.getResourceAsStream("/resource_path.txt")!!
val inputStream = this::class.java.getResourceAsStream("/resource_path.txt")!!

val catalogProvider = MemoryCatalog.Provider().also {
val map = mutableMapOf<String, MutableList<Pair<String, StaticType>>>()
Expand Down

0 comments on commit b3108a9

Please sign in to comment.