3
0

34 Commits

Author SHA1 Message Date
Tomaž Jerman
b352bec657 Defer report filter validation to the runtime 2021-10-08 10:13:39 +02:00
Tomaž Jerman
7a96376865 Properly handle join cases where local key is not unique 2021-10-07 20:11:32 +02:00
Tomaž Jerman
de0d6776b0 Fix nil ptr exception on invalid report prefilter 2021-10-06 16:31:22 +02:00
Katrin Yordanova
40e0385045 Remove colon from error message in report/model 2021-10-05 15:03:23 +03:00
Tomaž Jerman
c2136c54c6 Remove frame column caster from YAML def 2021-10-01 10:08:58 +02:00
Tomaž Jerman
9a1c91675b Assure propper paging cursor value casting for reporting 2021-09-24 14:22:45 +02:00
Tomaž Jerman
11c225c6f4 Post testing reporter tweaks
* add support for existence checking (IS (NOT) NULL)
* cover edgecase where either join dimension is empty
* add support for negation operator
2021-09-24 13:17:28 +02:00
Tomaž Jerman
8cae39f231 Extend codegen for system resources
* Rename generated services
* Add definitions for reports
2021-09-22 11:26:14 +02:00
Tomaž Jerman
a343da12cf Reporting join step cleanups/refactoring 2021-09-19 13:43:54 +02:00
Tomaž Jerman
8ab9b0e851 Report run handling and validation post testing tweaks 2021-09-02 16:22:14 +02:00
Tomaž Jerman
6f5489a71b Add some temporary restrictions for dev release 2021-09-02 10:43:58 +02:00
Tomaž Jerman
933dc744e1 Defer model validation to requested branches instead of entire model 2021-09-02 10:43:58 +02:00
Tomaž Jerman
00c47ed5c9 Data handling and processing improvements 2021-09-02 10:43:58 +02:00
Tomaž Jerman
f485c4a3d5 Improve report join step 2021-09-02 10:43:58 +02:00
Tomaž Jerman
37e75293e3 Improve frame def. grouping logic based on model step 2021-08-16 09:24:47 +02:00
Tomaž Jerman
259da8561c Add AST value type validation & support for Number 2021-08-16 09:24:47 +02:00
Tomaž Jerman
efb94908f2 Extra expression parsing and formatting tweaks
* persist `raw` on AST nodes
* remove unneeded groupping by the ql pkg
* allow store flavours to specify what operations need to be enclosed
* extra tests
2021-08-16 09:16:07 +02:00
Tomaž Jerman
f21efd5f8d Additional report modeling tests 2021-08-16 09:16:07 +02:00
Tomaž Jerman
5e4397c436 Update group step with AST col. def. 2021-08-16 09:16:07 +02:00
Tomaž Jerman
762ea93c27 Include sort in the data frame 2021-08-16 09:16:07 +02:00
Tomaž Jerman
8d6e96a999 Rework reporting bits to use the reworked qlng package 2021-08-16 09:16:07 +02:00
Tomaž Jerman
9e5ae5df30 Restructure report sources & adjust testcases 2021-08-16 09:16:07 +02:00
Tomaž Jerman
4ed615585b Additional model loading & describing tests 2021-08-16 09:16:07 +02:00
Tomaž Jerman
0b35f4ec0d Rename Sorting -> Sort for consistency 2021-08-16 09:16:07 +02:00
Tomaž Jerman
7f38c65199 Fix filter parsing lapsus 2021-08-16 09:16:07 +02:00
Tomaž Jerman
41895b5dad Improve request pre-processing
Make the query planner run at run-time, allowing us to taylor
based on the requested definitions.

This allows us to request data from any step of the model, not
just the root steps.
2021-08-16 09:16:07 +02:00
Tomaž Jerman
9872d92c95 Add support for paging & slight refactor 2021-08-16 09:16:07 +02:00
Tomaž Jerman
67a79602f9 Imply group column kind based on context 2021-08-16 09:16:07 +02:00
Tomaž Jerman
9b07ed3af9 Default column labels to their names 2021-08-16 09:16:07 +02:00
Tomaž Jerman
7626714050 Add a report description endpoint to query shape 2021-08-16 09:16:07 +02:00
Tomaž Jerman
4da71e78ad Tweak relay model definitions and processing
* tmp. remove paging
* tweak join and group step definitions
* better support multi frame requests
2021-08-16 09:16:07 +02:00
Tomaž Jerman
a6c7f90663 Base tests & tweaks 2021-08-16 09:16:07 +02:00
Tomaž Jerman
519a5503ec Improve datasource joining
* use partitioning to reduce DB load
* allow local datasource sorting based on foreign datasource
2021-08-16 09:16:07 +02:00
Tomaž Jerman
6751d0ec8b Base pkg/report definition 2021-08-16 09:15:15 +02:00