Giter VIP home page Giter VIP logo

talend-workshop's Introduction

talend-workshop

1. Problem Statement

To be able to transfer data from a one format to another. Examples for the formats include

  • CSV
  • PostgresQL
  • Excel
  • MySQL
  • MongoDB
  • Big Data (Hadoop, Cassandra) etc

What is ETL?

Extract, Transform and Load

We will be focussing on all these today. We will try to

  1. Extract data out of CSV and load it PSQL
  2. Extract data out of PSQL, transform and load it to Excel
  3. Get a bunch of files (CSVs) and load them to PSQL.

Then to automate it so that it runs on it's own wihtout human intervention. [Will be done in the next session]

2. What is talend?

A tool that helps us do all of the above.

New Concept

  • Components and Connectors: All the operations in Talend are performed by connectors and components. Input output connected through connectors.

3. Setting up the environment.

1. Adding PSQL connection

{
  "postgres_host": "64.225.85.167",
  "postgres_port": 5432,
  "postgres_database": "postgres",
  "postgres_username": "postgres",
  "postgres_password": ""
}

2. Adding CSV

CSV1

CSV2

  • Creating a folder and saving both files into the system.

4. Extract data out of CSV and load it PSQL

Steps

  • Add the delimited file
  • Connect it to the database

New Concepts

  • Schema: Is how the data is defined in a Database. It could be file as well. Datatypes: String, Integer, Decimal, JSON, etc. It is a generic definition of data and tt helps translate data from one format to another.

5. Extract data out of PSQL, transform and load it to Excel

New Concepts

  • Map: How one fields translates to another in a different format.

Steps

  • Adding events-2 to the table
  • Setting up map
  • Adding excel output component

6. Get a bunch of files (CSVs) and load them to PSQL.

New Concepts

  • FileIterator

talend-workshop's People

Contributors

chakshugautam avatar

Watchers

James Cloos avatar  avatar  avatar

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.