This is an automated email from the ASF dual-hosted git repository.

dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 3a3814af700 [regression-test](fix) opensky_p2 case (#47122)
3a3814af700 is described below

commit 3a3814af70082510e15c95a4041654f23d0dcaa0
Author: shuke <[email protected]>
AuthorDate: Fri Jan 17 09:49:31 2025 +0800

    [regression-test](fix) opensky_p2 case (#47122)
    
    #46797
---
 regression-test/suites/opensky_p2/load.groovy | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/regression-test/suites/opensky_p2/load.groovy 
b/regression-test/suites/opensky_p2/load.groovy
index d5f675dbeb9..d00be91d3fd 100644
--- a/regression-test/suites/opensky_p2/load.groovy
+++ b/regression-test/suites/opensky_p2/load.groovy
@@ -24,9 +24,7 @@ suite("load"){
 
     sql """ DROP TABLE IF EXISTS $tableName """
 
-    def scriptDir = new 
File(getClass().protectionDomain.codeSource.location.path).parent
-
-    sql new File("""${scriptDir}/ddl/${tableName}.sql""").text
+    sql new File("""${context.file.parent}/ddl/${tableName}.sql""").text
 
     for (String sourceFile in sourceFiles) {
         streamLoad {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to