zhongjiajie commented on code in PR #14463:
URL: 
https://github.com/apache/dolphinscheduler/pull/14463#discussion_r1255095773


##########
dolphinscheduler-data-quality/src/main/java/org/apache/dolphinscheduler/data/quality/DataQualityApplication.java:
##########
@@ -64,9 +65,16 @@ public static void main(String[] args) throws Exception {
             config.put(SPARK_APP_NAME, dataQualityConfiguration.getName());
         }
 
-        SparkRuntimeEnvironment sparkRuntimeEnvironment = new 
SparkRuntimeEnvironment(config);
+        boolean hiveClientSupport = dataQualityConfiguration
+                .getReaderConfigs()
+                .stream()
+                .anyMatch(line -> 
line.getType().equalsIgnoreCase(HIVE.name()));

Review Comment:
   oh, I got you point, you mean when user reader do not have hive reader, we 
can ignore using hive support in spark context, it is not business for run 
success with or without hive client



-- 
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]

Reply via email to