From bfba5fee0cb6e0d741d422f8c21aecd3229a9573 Mon Sep 17 00:00:00 2001 From: toutian <953372946@qq.com> Date: Tue, 3 Jan 2023 15:00:36 +0800 Subject: [PATCH] [Issue_767][taier-data-develop]support Hive3 --- .../bulider/writer/Hive3XWriterBuilder.java | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 taier-data-develop/src/main/java/com/dtstack/taier/develop/service/template/bulider/writer/Hive3XWriterBuilder.java diff --git a/taier-data-develop/src/main/java/com/dtstack/taier/develop/service/template/bulider/writer/Hive3XWriterBuilder.java b/taier-data-develop/src/main/java/com/dtstack/taier/develop/service/template/bulider/writer/Hive3XWriterBuilder.java new file mode 100644 index 0000000000..17e18ccaec --- /dev/null +++ b/taier-data-develop/src/main/java/com/dtstack/taier/develop/service/template/bulider/writer/Hive3XWriterBuilder.java @@ -0,0 +1,32 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.dtstack.taier.develop.service.template.bulider.writer; + +import com.dtstack.taier.datasource.api.source.DataSourceType; +import org.springframework.stereotype.Component; + +@Component +public class Hive3XWriterBuilder extends Hive2XWriterBuilder { + + @Override + public DataSourceType getDataSourceType() { + return DataSourceType.HIVE3X; + } + +}