Abhinav Sarkar
f968612f36
Renames Env to Config.
7 years ago
Abhinav Sarkar
7cec652d96
Adds functions in the Ringo module to get hssqlppp Statements.
7 years ago
Abhinav Sarkar
85cbd41e84
Renames functions to expand abbreviations.
7 years ago
Abhinav Sarkar
09f4a49779
Adds docs for Ringo.Types module.
7 years ago
Abhinav Sarkar
b912e451f7
Fixes broken doctest.
...
By replacing Text.Show.Pretty generated string representation
used in the doctest with a handwritten one.
7 years ago
Abhinav Sarkar
9c683f3f67
Breaks the library and exe as separate cabal projects.
7 years ago
Abhinav Sarkar
ade5c388d8
Adds a smart constructor for Env for better type safety.
...
- Env is now created through a smart constructor which does
validations.
7 years ago
Abhinav Sarkar
0f4970d587
Changes FactColumn to use GADTs for better type safety.
7 years ago
Abhinav Sarkar
04be3b69f1
Adds more doctests.
...
- Found and fixed a bug regarding column names of FKs to existing dimension tables
(from DimId fact columns).
7 years ago
Abhinav Sarkar
68bf32a673
Adds doctests for factTablePopulateSQL and validate* functions.
7 years ago
Abhinav Sarkar
0d5e1ff29f
Adds indexes on dimension table columns in SQL.
7 years ago
Abhinav Sarkar
6a107aaf8d
Changes dimension populatation generator to use hssqlppp internally.
7 years ago
Abhinav Sarkar
c021ffb845
Adds doctests.
7 years ago
Abhinav Sarkar
4e4d13b94f
Adds support for generated table suffixes and time where clause on source table in full refresh mode.
7 years ago
Abhinav Sarkar
ff4ca5e235
Adds sql generation for count distinct fact columns population.
7 years ago
Abhinav Sarkar
d1e1eb7676
Adds output json generation.
...
- JSON files are generated for the following:
- list of fact tables generated
- list of dimension tables generated
- dependencies between the fact, dimension and source tables
7 years ago
Abhinav Sarkar
7d64ffcde4
Adds incremental refresh sql generation for fact tables.
7 years ago
Abhinav Sarkar
7dc6db944f
Adds incremental refresh sql generation for dimension tables.
...
- Adds partial unique indexes for tables to handle null columns.
- Adds validation for time column in fact tables.
7 years ago
Abhinav Sarkar
21497269ee
Adds index SQL in fact table create SQL.
7 years ago
Abhinav Sarkar
4a5233a1a2
Adds the ability to run as an executable.
...
- Adds a parser to parse yaml file into tables and facts
- Adds program argument handling for specifying program settings
7 years ago
Abhinav Sarkar
041d55f9dd
Refactors to move validation logic to its own namespace
7 years ago
Abhinav Sarkar
6d8e32950f
Adds SQL generation for table definitions.
...
And moves dimension and fact extraction logic to Ringo.Extractor namespace.
7 years ago
Abhinav Sarkar
3d00a89062
Changes to use Reader monad
7 years ago
Abhinav Sarkar
b7d13c4947
Refactoring
7 years ago
Abhinav Sarkar
8e74c20705
Adds fact table extraction function
7 years ago
Abhinav Sarkar
9107b7c83d
Adds validation and dimension extraction functions.
7 years ago
Abhinav Sarkar
048b19d4d2
Adds table related types and some example tables.
7 years ago
Abhinav Sarkar
7db306602f
Adds basic build setup.
7 years ago