Browse Source

Update SparkRuntimeEnvironment.java (#10549)

Add spark support for hive
3.1.0-release
飞侠美如画 2 years ago committed by GitHub
parent
commit
08e2c245a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-data-quality/src/main/java/org/apache/dolphinscheduler/data/quality/execution/SparkRuntimeEnvironment.java

2
dolphinscheduler-data-quality/src/main/java/org/apache/dolphinscheduler/data/quality/execution/SparkRuntimeEnvironment.java

@ -47,7 +47,7 @@ public class SparkRuntimeEnvironment {
}
public void prepare() {
sparkSession = SparkSession.builder().config(createSparkConf()).getOrCreate();
sparkSession = SparkSession.builder().config(createSparkConf()).enableHiveSupport().getOrCreate();
}
private SparkConf createSparkConf() {

Loading…
Cancel
Save