In the today's world, there is a growing trend of bringing your own data to load into table for pre-processing and consume. This means that businesses and sales organizations are increasingly taking responsibility for collecting, cleaning, and formatting their own data and inserting to EXT table and transfer it back to TCMP stage tables
There are several reasons for this trend. First, businesses and Sales often have access to datamart that is specific to their industry. This data can be more valuable than third-party data, as it is more likely to be relevant to the specific problem that the business or sales organization is trying to solve.
There are a few challenges associated with bringing your own data to load it table for pre-processing and consume. First, it can be time-consuming and expensive to provide it right format(ODI) to collect, clean, and format the data. Second, it can be difficult to ensure that the data is unbiased. Third, it can be challenging to customize the pre-processing steps for the data transfer to target tables.
Here are some tips for bringing your own data to load it table for pre-processing and consume:
Bringing your own data to load into EXT table for pre-processing and consume can be a complex and time-consuming process. However, it is an important step that can help you to map and insert into Stage tables.
In below example, It is just a described with simple data and follow the steps as shown
File name : <TENANT_ID>_CUSTOMUPLOAD_TST.txt
CAR_NAME,CAR_TYPE,STATUS,FLAG
BMW,X1,ACTIVE,1
BMW,X5,ACTIVE,1
BMW,X3,ACTIVE,1
BMW,X6,ACTIVE,1
CREATE COLUMN TABLE "EXT"."CUSTOM_CDL_UPLOAD"(
"CAR_NAME" VARCHAR(255),
"CAR_TYPE" VARCHAR(255),
"STATUS" VARCHAR(255),
"FLAG" VARCHAR(255)
)
UNLOAD PRIORITY 5 AUTO MERGE;
Example: With IN Parameter
Note : If you need to insert the data into TCMP Stage tables, you need to have INSERT GRANT Privilege.
CREATE PROCEDURE "EXT".SP_CUSTOM_CDL_UPLOAD(IN FILENAME varchar(120))
LANGUAGE SQLSCRIPT
SQL SECURITY INVOKER
DEFAULT SCHEMA EXT
AS
BEGIN
END;
Once you save the custom Inbound file type, it will be shown.
To run the inbound file type, drop a trigger file in the inbound folder of the SFTP Dropbox. The trigger file should have the same file type that is defined in inbound file type settings for the custom inbound file type.
you can preview the data through the table which got loaded.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |