Skip to content

Commit f954ce5

Browse files
committed
[AURON #2015] Add Native Scan Support for Apache Iceberg Copy-On-Write Tables.
Signed-off-by: slfan1989 <slfan1989@apache.org>
1 parent 48d67b7 commit f954ce5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

common/src/main/scala/org/apache/auron/common/AuronBuildInfo.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
*/
1717
package org.apache.auron.common
1818

19+
import java.io.FileInputStream
1920
import java.util.Properties
2021

2122
import scala.util.Try
@@ -31,6 +32,10 @@ object AuronBuildInfo {
3132
Option(contextLoader).map(_.getResourceAsStream(buildFile))
3233
.orElse(Option(classLoader).map(_.getResourceAsStream(buildFile)))
3334
.orElse(Option(systemLoader).map(_.getResourceAsStream(buildFile)))
35+
.orElse {
36+
val path = s"${System.getProperty("user.dir")}/common/src/main/resources/$buildFile"
37+
Try(new FileInputStream(path)).toOption
38+
}
3439
.orNull
3540

3641
if (buildFileStream == null) {

0 commit comments

Comments
 (0)