Commit Graph

29 Commits (ebb008d6db59f9dbb3b8aca285b5f71ff5a9bbde)

Author SHA1 Message Date
Abhinav Sarkar 835e30ca97 Changes ArgParser to read info from cabal file. 2016-04-20 16:40:01 +05:30
Abhinav Sarkar 15c549a6e8 Adds version option to the executable. 2016-03-25 01:59:01 +05:30
Abhinav Sarkar ade5c388d8 Adds a smart constructor for Env for better type safety.
- Env is now created through a smart constructor which does
  validations.
2016-02-05 16:17:57 +05:30
Abhinav Sarkar 0f4970d587 Changes FactColumn to use GADTs for better type safety. 2016-02-03 17:15:59 +05:30
Abhinav Sarkar 6d86392946 Merge branch 'master' into hssqlppp 2016-01-15 14:43:11 +05:30
Abhinav Sarkar 5b35b03a1a Adds an option to choose if fact tables are persistent. 2016-01-07 03:01:50 +05:30
Abhinav Sarkar 4a7682320b Adds max and min fact column types. 2016-01-07 02:41:32 +05:30
Abhinav Sarkar 6ce2d56252 Adds support for tenant id fact column for multi-tenant databse designs. 2016-01-07 02:38:41 +05:30
Abhinav Sarkar 0d5e1ff29f Adds indexes on dimension table columns in SQL. 2016-01-06 19:00:27 +05:30
Abhinav Sarkar 6a107aaf8d Changes dimension populatation generator to use hssqlppp internally. 2016-01-04 01:32:36 +05:30
Abhinav Sarkar c021ffb845 Adds doctests. 2016-01-01 20:57:54 +05:30
Abhinav Sarkar 28ff8a99fb Changes Create generator to use hssqlppp internally. 2016-01-01 17:15:22 +05:30
Abhinav Sarkar 4e4d13b94f Adds support for generated table suffixes and time where clause on source table in full refresh mode. 2015-12-30 19:57:38 +05:30
Abhinav Sarkar 644acc7ee9 Moves out foreign key id coalesce value as a setting. 2015-12-30 12:34:35 +05:30
Abhinav Sarkar 8f27bdf33c Fixes swapped dimension and fact json file names. 2015-12-29 15:19:55 +05:30
Abhinav Sarkar ad14698ab0 Refactoring. 2015-12-29 15:19:17 +05:30
Abhinav Sarkar bcd210e7a5 Moves SQL type defaults to input json from code. 2015-12-28 22:06:44 +05:30
Abhinav Sarkar ff4ca5e235 Adds sql generation for count distinct fact columns population. 2015-12-22 19:46:37 +05:30
Abhinav Sarkar 2dcbe4efd7 Adds source column to count and count distinct fact columns.
Also removes CountDistinctColumSuffix setting.
2015-12-21 22:19:54 +05:30
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
2015-12-21 15:30:23 +05:30
Abhinav Sarkar 7d64ffcde4 Adds incremental refresh sql generation for fact tables. 2015-12-20 18:25:14 +05:30
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.
2015-12-19 11:55:08 +05:30
Abhinav Sarkar e46d3684cd Fixes a typo. 2015-12-18 17:35:26 +05:30
Abhinav Sarkar a84325cb2a Makes the build work with stack lts-2. 2015-12-18 02:37:17 +05:30
Abhinav Sarkar ea9e100f8f Extracts constants in code to settings. 2015-12-18 01:33:06 +05:30
Abhinav Sarkar 21497269ee Adds index SQL in fact table create SQL. 2015-12-17 23:48:17 +05:30
Abhinav Sarkar c3d3019cd3 Adds SQL file generation to the executable 2015-12-17 23:18:12 +05:30
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
2015-12-17 20:02:13 +05:30
Abhinav Sarkar 7db306602f Adds basic build setup. 2015-12-09 17:11:57 +05:30