The data pipeline reads data from a SQLServer Table Origin (JDBC) and loads into Oracle Table Destination (JDBC). i am trying to truncate the table before loading data into oracle destination table (JDBC). Is there any way to truncate the table before load data into destination?
Solved
Truncate and Load into Oracle Table Destination (JDBC)
Best answer by Pradeep
Start Event option runs before any stage starts processing in the pipeline(Attaching example screenshots).
a. Configure 'Start Event' in General settings of the pipeline.
b. Use the Start Event - JDBC Query tab to run a truncate table query. You might want to use <truncate table if not exists <table-name>>.
More details refer https://docs.streamsets.com/portal/datacollector/4.4.x/help/datacollector/UserGuide/Event_Handling/EventFramework-Title.html#concept_amg_2qr_t1b
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.