Comments (3)
<?xml version="1.0" encoding="UTF-8"?> <Graph> <Node id="rcp" dbConnection="mysqlout1_rcp" type="DB_INPUT_TABLE" desc="mysqlout1_rcp" fetchSize="1000"> <Script name="sqlScript"> <![CDATA[ select * from (select * from rcp_sap_tube_state) ]]> </Script> </Node> <Node id="rdp" dbConnection="mysqlout1_rdp" type="DB_OUTPUT_TABLE" desc="mysqlout1_rdp" outputFields="tube_id;barcode;state;update_time;update_user_id;approve_user_id;approve_time;approve_state;upload_status;reviewer_lab_id;patient_num;census_address_id;create_time;incept_time;incept_laboratory_id;modify_time;modifier" renameOutputFields="tube_id;barcode;state;update_time;update_user_id;approve_user_id;approve_time;approve_state;upload_status;reviewer_lab_id;patient_num;census_address_id;create_time;incept_time;incept_laboratory_id;modify_time;modifier"></Node> <Line id="LINE_01" type="STANDARD" from="rcp" to="rdp" order="0" metadata="rcp_sap_tube_state"></Line> <Metadata id="rcp_sap_tube_state"> <Field name="tube_id" type="string" default="" nullable="false" /> <Field name="barcode" type="string" default="" nullable="true" /> <Field name="state" type="string" default="" nullable="true" /> <Field name="update_time" type="string" default="" nullable="true" /> <Field name="patient_num" type="string" default="" nullable="false" /> <Field name="census_address_id" type="string" default="" nullable="false" /> <Field name="modify_time" type="string" default="" nullable="false" /> </Metadata> <Connection id="mysqlout1_rcp" dbURL="127.0.0.1:3306" database="rcp" username="root" password="66666" type="MYSQL" /> <Connection id="mysqlout1_rdp" dbURL="127.0.0.1:3306" database="rdp" username="root" password="66666" type="MYSQL" /> </Graph>
from etl-engine.
需要在输出节点DB_OUTPUT_TABLE中通过Script标签来写insert语句,以实现写入数据表能力(influxdb不需要用Script标签,mysql,ck都需要通过Script标签),如下:
<Script name="sqlScript"></Script> 更加详细的日志输出,可通过 -logLevel trace 看到from etl-engine.
from etl-engine.
Related Issues (4)
- no code HOT 3
- oracle连接 用的哪个库 HOT 1
- 支持SQL Server 么 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from etl-engine.