Commit Graph
3976 Commits
Author SHA1 Message Date
Tomaž Jerman 7c743da936 Fix aggregate attribute expr type guessing for functions 2022-10-12 09:16:40 +02:00
Denis Arh 27ff07a14b Properly handle aliased expressions and having condition 2022-10-12 09:16:40 +02:00
Denis Arh ef12ab9aaa Properly support CONCAT in Postgres and SQLite 2022-10-12 09:16:40 +02:00
Tomaž Jerman 2bd455cab7 Use values instead of pointers for DAL aggregate attributes 2022-10-12 09:16:40 +02:00
Tomaž Jerman 01c6f7cc6e Add base support for offloading pipeline steps to the data source level 2022-10-12 09:16:40 +02:00
Tomaž Jerman 449401dbdf Remove home(filter package)-brew any to typed value conversion 2022-10-12 09:16:40 +02:00
Tomaž Jerman 8703133eac Fix runner gval ref out types to use pointers 2022-10-12 09:16:40 +02:00
Tomaž Jerman 3536ef8c6c Add missing geometry field-attribute mapping 2022-10-12 09:16:40 +02:00
Tomaž Jerman a45a08d91c Remove unneeded analyze dal operation 2022-10-12 09:16:40 +02:00
Denis Arh 1be37ab02e Add support for cursors in RDBMS DAL aggregation 2022-10-12 09:16:40 +02:00
Denis Arh 2fc9392367 Fix 'having' condition on RDBMS DAL aggregation 2022-10-12 09:16:40 +02:00
Denis Arh f1557e451f Allow group-by withour aggr. expressions in RDBMS DAL 2022-10-12 09:16:40 +02:00
Denis Arh b5609a27b2 Additional flexibility for aggregator and iterator
RDBMS DAL iterator now supports different source and destination models
in order to handle (scan) results from aggregation (and later join)
queries.
2022-10-12 09:16:40 +02:00
Denis Arh 2927826ecd Fix DATE type parsing in SQLite 2022-10-12 09:16:40 +02:00
Denis Arh fbf4410335 Add RDBMS DAL aggregation functions (avg, sum and count) 2022-10-12 09:16:40 +02:00
Denis Arh 8d2718bef7 Add aggregation support to DAL RDBMS driver 2022-10-12 09:16:40 +02:00
Denis Arh f2e4d23cb0 Add support for creation of TEMP tables 2022-10-12 09:16:40 +02:00
Denis Arh 9ab496b3d4 Better handling of invalid type input in RDBMS drivers 2022-10-12 09:16:40 +02:00
Denis Arh 185349d17a Fix NUMERIC type handling for postgres 2022-10-12 09:16:40 +02:00
Denis Arh 7e59d958bd Remove obsolete files 2022-10-12 09:16:40 +02:00
Denis Arh 41056a1db0 Moving DAL related REST tests to test/system 2022-10-12 08:23:09 +02:00
Tomaž Jerman b581fe86a8 Quick fix for workflow function result expr. eval. when arrays are used 2022-10-12 08:23:09 +02:00
Denis Arh bb6f0e9082 Fix typo in tests (forbiden => forbidden) 2022-10-12 08:23:09 +02:00
Denis Arh b03a098127 Regenerated API docs, fix version, add automation definition 2022-10-12 08:23:09 +02:00
Vivek Patel 57721291b2 Add fallback values on error for signup
Also, fixes redirection on error on auth handler
2022-10-07 18:33:39 +05:30
Tomaž Jerman 5d476dcfa0 Add missing .Close() calls for report iterators 2022-10-05 12:48:50 +02:00
Denis Arh ce6d7d02e3 Use fastjson pkg as SimpleJsonDocColumn decoder
It shaves off about 50% of time needed for parsing and decoding
in case of large amounts of small JSON docs
2022-10-05 11:39:35 +02:00
Denis Arh 7e4e4d3b5a Improve compose record value migration 2022-10-04 17:35:24 +02:00
Vivek Patel 422f870f40 Add nil check for Vars methods
Fix nil pointer error while calling Vars method with nil Vars, that caused due to 1st statement in method was locking the Vars and expecting the mux preset in given Vars.
2022-10-04 17:16:17 +05:30
Vivek Patel df119da7a2 Fix tests for record pagination 2022.9.0 2022.9.0-rc.2 2022-09-30 20:01:37 +05:30
Vivek Patel f3ad5e2a1a Fix divide by zero panic
Add check for zero before dividing it.
2022-09-30 19:48:00 +05:30
Jože Fortun 3d7c7bc393 Update corteza-locale dep 2022-09-30 16:11:20 +02:00
Vivek Patel 6469cb1ea0 Fix data privacy request list test
Add dateTime sorting back to test
2022-09-30 19:37:37 +05:30
Denis Arh 4d02146d01 Fix field initialization on record export 2022-09-30 15:50:58 +02:00
Vivek Patel ef72ffa373 Fix total and page navigation for records
Introduce helper func(IteratorPaging) to count total and create page navigation for records and also fixes timezone and milliseconds fir dateTime field value for query.
2022-09-30 18:29:38 +05:30
Tomaž Jerman ff5cba8508 Return empty arrays for empty report frames instead of null 2022-09-30 14:45:52 +02:00
Denis Arh bdeb0dc7d3 Re-implement (missing) record value migration 2022-09-30 14:29:49 +02:00
Tomaž Jerman 7eaab982b7 Fix lapsus with join row merge mapping 2022-09-30 13:41:07 +02:00
Jože Fortun 6065cbc05a Fix compose reporter with multiple metrics 2022-09-30 13:30:17 +02:00
Denis Arh 5c96a2b2f2 Fix crash in attachment handling when we close on error 2022-09-30 12:42:55 +02:00
Denis Arh e95970d33d Make column-rename RDBMS DDL MySQL compatible 2022-09-30 10:14:37 +02:00
Denis Arh 25d23b740c Add (and refactor) RDBMS fix for values, revision and meta column 2022-09-30 10:14:37 +02:00
Tomaž Jerman 79f3c4ba46 Add provision for report migration 2022-09-30 10:07:47 +02:00
Tomaž Jerman 4400929c4d Fix broken compose tests 2022-09-30 08:32:28 +02:00
Tomaž Jerman 51ee96dd89 Apply frame definition filtering to link pipeline step 2022-09-29 23:08:16 +02:00
Tomaž Jerman d18c8bd80d Quick fix for invalid aggregate attribute type determination
The logic should change along with how pipeline description
is done and how the pipeline represents attributes.
2022-09-29 22:21:46 +02:00
Tomaž Jerman 8d480e67c0 Allow rdbms model ops to use already parsed filter expressions 2022-09-29 16:34:00 +02:00
Tomaž Jerman 75a3394d15 Make DAL QL functions consistent and introduce DAY
* date outputs the date without the time part
* day outputs the day of the month
2022-09-29 15:40:36 +02:00
Denis Arh aabefd972c Fix definitions for fed. module mapping 2022-09-29 15:20:13 +02:00
Denis Arh 50550a83da Fix RDBMS upgrade procedures 2022-09-29 15:20:13 +02:00