|
|
@ -49,8 +49,7 @@ public class AliyunServerlessSparkDataSourceProcessor extends AbstractDataSource |
|
|
|
AliyunServerlessSparkDataSourceParamDTO aliyunServerlessSparkDataSourceParamDTO = |
|
|
|
AliyunServerlessSparkDataSourceParamDTO aliyunServerlessSparkDataSourceParamDTO = |
|
|
|
(AliyunServerlessSparkDataSourceParamDTO) datasourceParamDTO; |
|
|
|
(AliyunServerlessSparkDataSourceParamDTO) datasourceParamDTO; |
|
|
|
if (StringUtils.isEmpty(aliyunServerlessSparkDataSourceParamDTO.getRegionId()) || |
|
|
|
if (StringUtils.isEmpty(aliyunServerlessSparkDataSourceParamDTO.getRegionId()) || |
|
|
|
StringUtils.isEmpty(aliyunServerlessSparkDataSourceParamDTO.getAccessKeyId()) || |
|
|
|
StringUtils.isEmpty(aliyunServerlessSparkDataSourceParamDTO.getAccessKeyId())) { |
|
|
|
StringUtils.isEmpty(aliyunServerlessSparkDataSourceParamDTO.getRegionId())) { |
|
|
|
|
|
|
|
throw new IllegalArgumentException("spark datasource param is not valid"); |
|
|
|
throw new IllegalArgumentException("spark datasource param is not valid"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|