Unverified Commit 84bb9eb2 authored by suxinshuo's avatar suxinshuo Committed by GitHub

[Fix-3633][admin] Fix the issue of not displaying catalog (#3635)

parent 804bf25f
...@@ -22,6 +22,8 @@ package org.dinky.data.dto; ...@@ -22,6 +22,8 @@ package org.dinky.data.dto;
import org.dinky.data.enums.GatewayType; import org.dinky.data.enums.GatewayType;
import org.dinky.job.JobConfig; import org.dinky.job.JobConfig;
import com.google.common.collect.Maps;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Getter; import lombok.Getter;
...@@ -67,6 +69,7 @@ public class StudioMetaStoreDTO extends AbstractStatementDTO { ...@@ -67,6 +69,7 @@ public class StudioMetaStoreDTO extends AbstractStatementDTO {
public JobConfig getJobConfig() { public JobConfig getJobConfig() {
return JobConfig.builder() return JobConfig.builder()
.type(GatewayType.LOCAL.getLongValue()) .type(GatewayType.LOCAL.getLongValue())
.configJson(Maps.newHashMap())
.useResult(true) .useResult(true)
.useChangeLog(false) .useChangeLog(false)
.useAutoCancel(false) .useAutoCancel(false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment