Articles in this section
Category / Section

Unstructred Text Data into Structured using Bold ETL

Published:
Updated:

In this article, we have imported the tables from the PostgreSQL server, converted unstructured text data to structured data using Transformation, and moved data into the destination DB using Bold ETL. Follow the step-by-step process below.

Consider data in the PostgreSQL table as follows:

pg-db.png

Using Bold ETL, convert this data as follows:

convert-to-etl.png

Step 1: Click on the Bold ETL icon to open the Bold ETL site in a new tab.

select-bold-etl.png

etl-page.png

Step 2: Click Add Project in the left-side panel. Enter the project name and click the tick icon.

add-project.png

Step 3: Click on Project name. It will open yaml editor to configure the source and destination connector configuration.

click-project-name.png

Step 4: Click PostgreSQL on the left-side panel and add the template in the right-side panel to add the sample configuration in the YAML editor. Replace your DB credentials and tables as shown below:

postgres-add-template.png

Step 5: Click Save and choose the destination. Then, click the Yes button.

select-destination.png

Step 6: Go to Schedules and select Run Now option in the context menu of the data source grid.

schedule-run-now.png

Step 7: Logs will be available in the Logs tab. Click the project name in the left side panel and switch to the Logs tab.

click-logs.png

etl_s6.png

Step 8: Go to the Transformation tab and click Add Table. Enter the table name to be moved into the destination database.

transformation-tab.png

add-new-table.png

Step 9: Tables will be moved into the destination schema named as Project Name. For example, if the project name was postgresdata, it will be moved to the postgresdata schema.

transformation-sql-editor.png

Step10: Enter the SQL scripts to apply transformations on existing tables and create the SQL scripts into a new table in the destination database.

sql-editor.png

This SQL query (DuckDB) will be converted into a structured format as follows. Click Preview to preview the random 10 records and Save.

data-preview.png

Step 11: Repeat Step 4 for on-demand refresh by selecting Run Now, or go to the Schedules page and select the Schedule option in the context menu of the data source grid. Configure the schedule and click Run.

schedule-page.png

Step 12: As per the schedule, transform tables and source tables are moved into the destination database, and a data source is created with a random table in Bold Reports.

etl_create_datasource.png

Step13: Go to the Dataset page and create a dataset with the existing data source created in the previous step.

existing-data-source.png

connect-data-source.png

* Drag and drop the table that will be used for the report.
data-set-page.png

Refer: Working with ETL

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied