Commit 19e75675 authored by mcb's avatar mcb
parents a6e69722 94fc3085
......@@ -198,7 +198,7 @@ public class SqlParameters extends AbstractParameters {
String sqlStr = ParameterUtils.columnMappingHandler(columnFieldsObj);
Map<String, String> transformMappingSqlModel = new HashMap<String, String>();
transformMappingSqlModel.put("source_table_name", "table_view");
transformMappingSqlModel.put("source_table_name", "t");
transformMappingSqlModel.put("sql", sqlStr);
transform = transform + FreeMarkerUtils.freemakerJson(CommConstant.WATERDROP_FTL_TRANSFORM_SQL, transformMappingSqlModel, freeMarkerConfig);
......@@ -210,6 +210,7 @@ public class SqlParameters extends AbstractParameters {
sinkApiModel.put("method", apiObj.getString("method"));
sinkApiModel.put("signType", apiObj.getString("signType"));
sinkApiModel.put("authCode", apiObj.getString("authCode"));
sinkApiModel.put("salt", apiObj.getString("salt"));
sink = FreeMarkerUtils.freemakerJson(CommConstant.WATERDROP_FTL_SINK_API, sinkApiModel, freeMarkerConfig);
}
......
Api {
<#if source_table_name??>
source_table_name="${source_table_name!}"
</#if>
<#if url??>
url = "${url!}"
</#if>
......@@ -13,6 +16,9 @@ Api {
</#if>
<#if authCode??>
authCode = "${authCode!}"
</#if>
<#if salt??>
salt = "${salt!}"
</#if>
isTest = "false"
}
Kafka {
<#if source_table_name??>
source_table_name="${source_table_name!}"
</#if>
<#if topic??>
# Kafka 主题
topic = "${topic!}"
......
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