You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by xx...@apache.org on 2023/04/23 06:00:46 UTC

[kylin] 05/22: KYLIN-5492 fix compile issue

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

xxyu pushed a commit to branch kylin5
in repository https://gitbox.apache.org/repos/asf/kylin.git

commit 187bb21fa888e4abc751bfc163d2ca9bf2a30858
Author: qianhao.zhou <z....@gmail.com>
AuthorDate: Tue Jan 3 16:34:59 2023 +0800

    KYLIN-5492 fix compile issue
    
    Co-authored-by: qhzhou <qi...@kyligence.io>
---
 .../org/apache/kylin/rest/service/ModelTdsServiceColumnNameTest.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modeling-service/src/test/java/org/apache/kylin/rest/service/ModelTdsServiceColumnNameTest.java b/src/modeling-service/src/test/java/org/apache/kylin/rest/service/ModelTdsServiceColumnNameTest.java
index 6a381fa564..db24394952 100644
--- a/src/modeling-service/src/test/java/org/apache/kylin/rest/service/ModelTdsServiceColumnNameTest.java
+++ b/src/modeling-service/src/test/java/org/apache/kylin/rest/service/ModelTdsServiceColumnNameTest.java
@@ -20,7 +20,7 @@ package org.apache.kylin.rest.service;
 
 import lombok.extern.slf4j.Slf4j;
 import org.apache.kylin.common.scheduler.EventBusFactory;
-import org.apache.kylin.engine.spark.ExecutableUtils;
+import org.apache.kylin.engine.spark.utils.SparkJobFactoryUtils;
 import org.apache.kylin.junit.rule.TransactionExceptedException;
 import org.apache.kylin.metadata.cube.model.NDataflowManager;
 import org.apache.kylin.metadata.recommendation.candidate.JdbcRawRecStore;
@@ -78,7 +78,7 @@ public class ModelTdsServiceColumnNameTest extends SourceTestCase {
 
     @Before
     public void setup() {
-        ExecutableUtils.initJobFactory();
+        SparkJobFactoryUtils.initJobFactory();
         String localMetaDir = "src/test/resources/ut_meta/tds_export_test";
         createTestMetadata(localMetaDir);
         Authentication authentication = new TestingAuthenticationToken("ADMIN", "ADMIN", Constant.ROLE_ADMIN);