Abhinav Sarkar
f968612f36
Renames Env to Config.
7 years ago
Abhinav Sarkar
3fd28c7bff
Adds more docs for Types.
7 years ago
Abhinav Sarkar
a89a3013f9
Fixes a typo in a setting name.
7 years ago
Abhinav Sarkar
09f4a49779
Adds docs for Ringo.Types module.
7 years ago
Abhinav Sarkar
11e7d7d3b2
Fixes a typo in a setting name.
7 years ago
Abhinav Sarkar
207b11bee1
Adds validation check for duplicate dimensions.
7 years ago
Abhinav Sarkar
6c87c59eb4
Changes FactColumnType to use FactColumnKind datakind.
7 years ago
Abhinav Sarkar
29bafea95b
Removes EnvV from Types to simplify the code.
7 years ago
Abhinav Sarkar
ade13f767b
Removes FactColumnType pattern synonyms to simplify the code.
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
5b35b03a1a
Adds an option to choose if fact tables are persistent.
7 years ago
Abhinav Sarkar
4a7682320b
Adds max and min fact column types.
7 years ago
Abhinav Sarkar
6ce2d56252
Adds support for tenant id fact column for multi-tenant databse designs.
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
644acc7ee9
Moves out foreign key id coalesce value as a setting.
7 years ago
Abhinav Sarkar
dc4b260ff6
Refactoring.
7 years ago
Abhinav Sarkar
bcd210e7a5
Moves SQL type defaults to input json from code.
7 years ago
Abhinav Sarkar
3978f33cd0
Adds coalescing to default values for fact table columns.
...
- Removes FKs from fact tables
- Some coercions in SQL for faster processing
7 years ago
Abhinav Sarkar
ff4ca5e235
Adds sql generation for count distinct fact columns population.
7 years ago
Abhinav Sarkar
2dcbe4efd7
Adds source column to count and count distinct fact columns.
...
Also removes CountDistinctColumSuffix setting.
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
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
ea9e100f8f
Extracts constants in code to settings.
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
900b4b7488
Adds fact table insert SQL generation.
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
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