Skip to content

A light weight ETL engine and smart transformation framework

Notifications You must be signed in to change notification settings

littleliang/SmartETL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartETL

A light weight ETL engine and smart transformation framework

Build:

From root directory, run: maven install

Run the demo:

  1. Modify distribution/target/SmartETL-0.0.1-incredible/examples/samplejob.xml to have correct path to the sample input files and output location.
  2. Go to distribution/target directory, from command line, run: bin/run.bat

Debug:

  1. Import the projects (libBase, libFormula, smartETL) into Eclipse
  2. Run configuration

Main class: org.f3tools.incredible.smartETL.JobRunner Argument: path to the samplejob.xml, for example: C:\Work\workspace\incredible\examples\samplejob.xml

Nice features:

  1. You can skip predefined amount of top and bottom lines when reading a csv file
  2. You can use lookup as function in formulas
  3. You can setup a filter for input files and smart trans step
  4. Smart trans step allows you define mapping rules using a DSL (domain specific language)
  5. You can filter out a row in formula
  6. All kind of functions such as string manipulation, date time manipulation ... are supported in the DSL
  7. You can define variables in smart trans step. you can use both input data, variables, and output data define output mapping rules

Log

2015/04/16

Fixed a bug now variables are case insensitive

2015/3/30

  1. Added if, then, else to DSL
  2. Renamed function if to iif
  3. Support And, Or, Not logical operator
  4. Fixed a bug in PrefixTerm and PostfixTerm which didn't have initialize methods
  5. Removed square bracket for variables
  6. Changed function delimiter from ; to ,

2015/3/21

  1. Formula tag is supported now
  2. Two new tools are created. GenJobDef can generate job definition xml from an excel spreasheet. GrammarCheck can find out grammar errors in Excel mapping formulas.

About

A light weight ETL engine and smart transformation framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%