Giter Site home page Giter Site logo

Comments (3)

lscool66 avatar lscool66 commented on August 28, 2024

<?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.

hw2499 avatar hw2499 commented on August 28, 2024

需要在输出节点DB_OUTPUT_TABLE中通过Script标签来写insert语句,以实现写入数据表能力(influxdb不需要用Script标签,mysql,ck都需要通过Script标签),如下:

<Script name="sqlScript"></Script> 更加详细的日志输出,可通过 -logLevel trace 看到

from etl-engine.

hw2499 avatar hw2499 commented on August 28, 2024

i1.png

from etl-engine.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.