Your SlideShare is downloading. ×
DMDW 8. Student Presentation - Groovy to MongoDB
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

DMDW 8. Student Presentation - Groovy to MongoDB

1,641
views

Published on

8. ETL Project by Maximilian Butterer

8. ETL Project by Maximilian Butterer

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,641
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. DMDW - ETL-Project
    • the groovy-way
    • by Maximilian Butterer
  • 2. What was the Job
    • Extract the data from room-plan-file (excel)
    • Transform it into new structure (Datatypes)
    • Load it into new target (e.g. database-system)
    • create kind of documentation (how-to) or
    • present it to you
  • 3. #1: Export the data
    • exporting data from excel is pretty easy
    • so i exported hole file as csv-File
    • 1st Problem: Comma is semicolon
    • 2nd problem: Encoding is not utf-8
  • 4. #2: a helper
    • because csv is plaintext it ‘ s easy to parse
    • i created a groovy-script for converting
    • my solution is not the cleanest way but some kind the easiest
    • 3rd problem: Data is not consistent / there are corrupted data-sets
  • 5. #3: Put it into
    • Having all the objects parsed and converted
    • Just put all the stuff into the database
    • 4th Problem: how?
  • 6. How i solved the problems
    • Parsing a file with groovy is easy as 1,2,3
    • Each line i had to split up because of the semicolons
    • to convert the date-String into a real date we have to trick
  • 7. Let ‘ s have a look behind
    • Look into the code
    • how does the code work
    • questions

×