3
0
Commit Graph

409 Commits

Author SHA1 Message Date
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
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
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
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
Denis Arh
bdeb0dc7d3 Re-implement (missing) record value migration 2022-09-30 14:29:49 +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
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
Denis Arh
323a6bb34b Refactor RDBMS DDL 2022-09-29 15:20:13 +02:00
Tomaž Jerman
b4ae293fdb Fix concurrecy issues with QL query conversion
Internal QL parser's state prevents this from being reusable.
2022-09-28 13:08:11 +02:00
Tomaž Jerman
7360b72dbf Fix query interval definitions for date add/sub 2022-09-28 10:10:49 +02:00
Denis Arh
769dfb085b Add support for marking sub workflows 2022-09-25 20:09:58 +02:00
Denis Arh
94b927c2bf Refactor RDBMS store, allow more flexibiltiy
Switch to driver instead of passing GOQU to allow use of other
per-driver functionalities.
2022-09-25 20:09:58 +02:00
Vivek Patel
7da0940ae1 Add IncTotal param support to all resource List API
- Updates rdbms.go.tpl to extends store search method to include total in response
2022-09-21 19:24:43 +05:30
Denis Arh
3159c7275c Implement base info. schema for sqlite 2022-09-19 17:34:19 +02:00
Denis Arh
3050cda023 Add RDBMS DAL model validation
This will prevent misconfigured models with atributes that read from the
same columns. This constraint could/should be removed in the
future.
2022-09-16 12:57:42 +02:00
Tomaž Jerman
077788d9b8 Remove operations from models and connections
For now, operations will be defined on a DB driver.
2022-09-15 13:55:21 +02:00
Denis Arh
98c1d52673 Fix information schema interface for MySQL (null string column) 2022-09-15 13:31:18 +02:00
Denis Arh
414336073e Removing ignore-case feature from name attribute on settings 2022-09-15 13:26:06 +02:00
Denis Arh
8803490f42 Improve store templates/codegen, fix settings model def 2022-09-15 13:19:32 +02:00
Denis Arh
336315aee6 Fix model-creation error handling 2022-09-15 13:19:32 +02:00
Tomaž Jerman
bd68b76137 Fix ID and Ref type casting for MySQL databases
The CAST function takes in UNSIGNED instead of BIGINT.
2022-09-15 12:07:33 +02:00
Tomaž Jerman
da24de8b09 Add attribute ident normalization to support legacy names
Older versions allowed more variations for the same system ident.
New one does not; normalization is a temporary solution for it.
2022-09-15 12:06:49 +02:00
Tomaž Jerman
9fdb86c4cf Add date_format to supported QL functions 2022-09-15 12:06:49 +02:00
Denis Arh
4a420b9d99 Fix table provision lookup+create logic 2022-09-15 08:13:19 +02:00
Denis Arh
eebf971fd2 Re-enable RDBMS table/column alter/drop operations 2022-09-14 12:18:43 +02:00
Denis Arh
8ff4015192 Re-enable primary-store healtcheck 2022-09-14 12:18:43 +02:00
Denis Arh
9e6241a610 Rework DSN masking for RDBMS connection 2022-09-14 12:18:43 +02:00
Denis Arh
f3690b8636 Series of small fixes, prefixing index idents 2022-09-14 12:18:43 +02:00
Denis Arh
06a9c61e5c Store codegen fixes (primary-key & DAL changes) 2022-09-14 12:18:43 +02:00
Denis Arh
d1dd4d1a0c Support SQLite table & index creation 2022-09-14 12:18:43 +02:00
Denis Arh
1f85b1be2b Support MySQL table & index creation 2022-09-14 12:18:43 +02:00
Denis Arh
30065d4a4c RDBMS DAL implementation cleanup 2022-09-14 12:18:43 +02:00