Commit Graph

106 Commits (80bd3fdd9b3bb1a760a89209b6c9e0c245f1d9f0)

Author SHA1 Message Date
Abhinav Sarkar 80bd3fdd9b
Minor formatting. 2016-07-11 23:36:39 +05:30
Abhinav Sarkar 4a874d8f46
Refactors extractor to simplify the code. 2016-07-11 23:36:12 +05:30
Abhinav Sarkar 3fd28c7bff
Adds more docs for Types. 2016-07-11 19:06:36 +05:30
Abhinav Sarkar a89a3013f9
Fixes a typo in a setting name. 2016-07-11 19:00:59 +05:30
Abhinav Sarkar fc550968f2
Adds 'Postgres' in synopsis and description. 2016-07-11 18:51:55 +05:30
Abhinav Sarkar b86cf2444d
Rearranges functions in generator populate dimension module. 2016-07-11 17:53:40 +05:30
Abhinav Sarkar e70c7f1174
Removes unnecessary Env like type from Validator. 2016-07-11 17:49:56 +05:30
Abhinav Sarkar 18dde15427
Refactors generator populate fact module to simplify the code.
- Extracts smaller functions out of big ones
- Moves count distinct update related code to a separate module
2016-07-11 17:47:53 +05:30
Abhinav Sarkar d27145b553
Refacts dimension population to simplify code. 2016-07-06 23:18:33 +05:30
Abhinav Sarkar 9fe9816623
Refactors to simplify code. 2016-07-06 23:17:12 +05:30
Abhinav Sarkar 1bf931d697
Refactors ringo extractor module to simplify code. 2016-07-06 21:49:04 +05:30
Abhinav Sarkar d106a19d22
Refactors ringo app to simplify the code. 2016-07-06 20:53:49 +05:30
Abhinav Sarkar 57e76321a1
Minor refactoring. 2016-07-06 17:24:42 +05:30
Abhinav Sarkar 7cec652d96
Adds functions in the Ringo module to get hssqlppp Statements. 2016-07-06 17:23:46 +05:30
Abhinav Sarkar 85cbd41e84
Renames functions to expand abbreviations. 2016-07-05 23:11:58 +05:30
Abhinav Sarkar 76e415b658 Merge pull request #1 from abhin4v/remove-cpp
Removes CPP directives and uses base-compat package instead.
2016-07-05 22:27:24 +05:30
Abhinav Sarkar 1cb60c56f4
Removes CPP directives and uses base-compat package instead. 2016-07-05 21:59:20 +05:30
Abhinav Sarkar 09f4a49779
Adds docs for Ringo.Types module. 2016-07-05 21:00:20 +05:30
Abhinav Sarkar 11e7d7d3b2
Fixes a typo in a setting name. 2016-07-04 17:09:04 +05:30
Abhinav Sarkar 207b11bee1
Adds validation check for duplicate dimensions. 2016-06-23 12:29:18 +05:30
Abhinav Sarkar 6c87c59eb4
Changes FactColumnType to use FactColumnKind datakind. 2016-06-23 12:28:19 +05:30
Abhinav Sarkar 29bafea95b Removes EnvV from Types to simplify the code. 2016-06-22 17:35:54 +05:30
Abhinav Sarkar ade13f767b Removes FactColumnType pattern synonyms to simplify the code. 2016-06-22 16:52:04 +05:30
Abhinav Sarkar b912e451f7 Fixes broken doctest.
By replacing Text.Show.Pretty generated string representation
used in the doctest with a handwritten one.
2016-06-15 04:15:41 +05:30
Abhinav Sarkar c919658f5b Modifies dependency bounds to build on stackage nightly (ghc8). 2016-06-15 03:20:00 +05:30
Abhinav Sarkar 549661169b Adds stackage lts-6. 2016-05-26 19:05:10 +05:30
Abhinav Sarkar 86a3cc0448
Fixed the program name in help/usage/version text. 2016-05-05 01:29:20 +05:30
Abhinav Sarkar 53e70d6ead
Changes for making source dists. 2016-05-05 01:06:31 +05:30
Abhinav Sarkar 9c683f3f67
Breaks the library and exe as separate cabal projects. 2016-05-05 00:43:54 +05:30
Abhinav Sarkar a51dddba56 Updates to use hssqlppp as a dependency from hackage.
- And removew the hssqlppp dependency as a git submodule.
2016-04-27 01:50:39 +05:30
Abhinav Sarkar ebb008d6db Update repo URL everywhere. 2016-04-26 01:17:14 +05:30
Abhinav Sarkar 04f7332eac Updates copyright. 2016-04-26 01:13:07 +05:30
Abhinav Sarkar 3faf4ff82e
Updates hssqlppp to version 0.6.0. 2016-04-24 16:53:48 +05:30
Abhinav Sarkar 835e30ca97 Changes ArgParser to read info from cabal file. 2016-04-20 16:40:01 +05:30
Abhinav Sarkar c5e7fd0683
Bumps up doctest version for running tests on stackage latest nightly. 2016-04-20 13:20:17 +05:30
Abhinav Sarkar 15c549a6e8 Adds version option to the executable. 2016-03-25 01:59:01 +05:30
Abhinav Sarkar c819578006 Bumps up aeson version to build on stackage nightly releases. 2016-03-25 01:16:39 +05:30
Abhinav Sarkar c517b50e96 Fixes git clone instruction. 2016-03-25 00:54:04 +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 b58e022b0e Merge pull request #1 from quintype/hssqlppp
Use hssqlppp as the SQL generator
2016-02-03 17:50:32 +05:30
Abhinav Sarkar 0f4970d587 Changes FactColumn to use GADTs for better type safety. 2016-02-03 17:15:59 +05:30
Abhinav Sarkar 8c3c4d801d Moves to stackage lts-5. 2016-01-27 01:09:07 +05:30
Abhinav Sarkar 04be3b69f1 Adds more doctests.
- Found and fixed a bug regarding column names of FKs to existing dimension tables
  (from DimId fact columns).
2016-01-26 01:34:09 +05:30
Abhinav Sarkar 68bf32a673 Adds doctests for factTablePopulateSQL and validate* functions. 2016-01-25 22:27:38 +05:30
Abhinav Sarkar 46e5e43856 Changes fact populatation generator to use hssqlppp internally. 2016-01-25 22:13:47 +05:30
Abhinav Sarkar d33dcbe33c Merge branch 'master' into hssqlppp 2016-01-19 01:07:25 +05:30
Abhinav Sarkar 3b7603b311 Fixes dim time population select clause.
- Dim time fact column population had a bug where the time id was being rounded
  instead of being floored. This fixes it.
2016-01-19 01:05:20 +05:30
Abhinav Sarkar 6d86392946 Merge branch 'master' into hssqlppp 2016-01-15 14:43:11 +05:30
Abhinav Sarkar aede5d6fc6 Fixes the dim time where clause interval queries.
- Changes the interval queries on dim time columns from <= ? and > ? to < ? and >= ?.
  This is more convinient for specifying where clause datetime values.
2016-01-14 16:18:53 +05:30
Abhinav Sarkar 064524f298 Adds stackage lts-4 in build jobs. 2016-01-07 03:08:37 +05:30