Itai Shirav
f084b6e95f
docs
2020-05-28 18:07:45 +03:00
Itai Shirav
6dee101593
- improve imports
...
- documentation updates
2020-05-01 20:11:40 +03:00
Itai Shirav
3c38c8ec40
Functions WIP
2020-04-19 07:17:52 +03:00
Itai Shirav
25c4a6710e
- funcs support in limit_by
...
- aggregate functions wip
2020-02-09 19:20:56 +02:00
Itai Shirav
c23947c28f
Merge branch 'develop' into funcs
2020-02-07 15:12:12 +02:00
Itai Shirav
acccfbcaad
Support for using LIMIT N BY feature (simplify, additional testing, documentation)
2020-02-07 13:36:55 +02:00
utapyngo
6d7b6250c5
Support for using LIMIT N BY feature
...
See https://clickhouse.yandex/docs/en/query_language/select/#limit-by-clause
2020-01-20 19:53:38 +07:00
Itai Shirav
969070f1ae
- Drop py2.7 support
...
- Add ipv4/6 fields and funcs
- Support funcs as alias/materialized expressions
2019-10-27 19:47:59 +02:00
Itai Shirav
342f06e7b0
Merge branch 'develop' into funcs
...
# Conflicts:
# src/infi/clickhouse_orm/query.py
# tests/test_decimal_fields.py
# tests/test_querysets.py
2019-07-13 11:51:10 +03:00
Itai Shirav
88510aaa42
Merge branch 'funcs' of git.infinidat.com:host-opensource/infi.clickhouse_orm into funcs
...
# Conflicts:
# src/infi/clickhouse_orm/fields.py
# src/infi/clickhouse_orm/query.py
# tests/test_querysets.py
2019-07-13 10:58:09 +03:00
Roy Belio
1889ac6372
Minor bug fixes
...
field creation won't allow empty string materialized field.
repliaca_name check is none
fix enum usage
typos fix
2019-06-23 11:53:58 +03:00
Itai Shirav
7ed62ffd2c
Merge branch 'qs-with-totals' of https://github.com/carrotquest/infi.clickhouse_orm into carrotquest-qs-with-totals
2019-02-27 08:45:22 +02:00
Itai Shirav
f96bd22c38
Functions WIP
2019-01-28 09:51:53 +02:00
M1ha
6902de3b94
Fix fo conditions_as_sql method by review
2018-12-19 10:06:57 +05:00
M1ha
d912bf56d7
Merge branch 'qs-prewhere' into qs-with-totals
2018-12-17 10:30:01 +05:00
M1ha
375316fbf3
Merge branch 'develop' into qs-prewhere
...
# Conflicts:
# src/infi/clickhouse_orm/query.py
2018-12-17 10:21:58 +05:00
Itai Shirav
602d0671f1
Functions WIP
2018-12-14 17:19:32 +02:00
Itai Shirav
9884143291
Added tests for multiple exclude/filter calls
2018-12-14 09:44:52 +02:00
M1ha
5f4023f120
Added with_totals method
2018-12-12 15:33:35 +05:00
M1ha
12463c61b8
1) Fixed bugs
...
2) Edited the docs
3) Added test for prewhere
2018-12-11 17:25:54 +05:00
M1ha
76dfdb6012
Fixed bug in final() method engine validation
2018-12-11 16:47:39 +05:00
M1ha
95055996ad
1) Further refactoring of as_sql():
...
merged very similar QuerySet and AggregateQuerySet methods
2) Fixed some bugs, caused by conditions_as_sql() parameters change
2018-12-08 11:57:08 +05:00
M1ha
7f38f8c654
Added fina() QuerySet method
...
Added tests for ite
Not tested in case of https://github.com/Infinidat/infi.clickhouse_orm/issues/93
2018-12-02 12:14:19 +05:00
Itai Shirav
962a1673f9
Functions WIP
2018-10-24 16:30:37 +03:00
Itai Shirav
658c7b42ee
Bug fix: wrong parentheses when building queries using Q objects
2018-10-13 19:49:12 +03:00
Itai Shirav
f2a731711d
Bug fix: QuerySet.count()
ignores slicing
2018-10-13 19:29:36 +03:00
Itai Shirav
6416b25818
Merge branch 'filtering_null' of https://github.com/kalombos/infi.clickhouse_orm into kalombos-filtering_null
2018-08-19 18:36:08 +03:00
Itai Shirav
84fc270e0e
Replace the deprecated assertEquals with assertEqual
2018-08-19 18:22:22 +03:00
Itai Shirav
32c77ab190
Include alias and materialized fields in queryset results
2018-08-19 16:18:15 +03:00
kalombo
a32453394a
add support for Filtering null values
2018-06-26 17:20:11 +05:00
Itai Shirav
d7382e1ce2
fix field name parsing when field contains double underscore #69
2018-06-10 14:27:51 +03:00
desile
52d63cff60
Add tests demonstrating and checking usage of Q objects for filtration
2017-11-29 23:58:22 +03:00
Itai Shirav
59564f8c70
Add distinct
method to querysets
2017-09-13 12:15:48 +03:00
Marsel
c4e60ca2a8
Include unicode_literals
2017-08-20 10:37:11 +03:00
Marsel
70d34b097f
Fix python3 compatibility
2017-08-20 10:37:11 +03:00
Itai Shirav
639867bb32
- Added QuerySet.paginate()
...
- Support for basic aggregation in querysets
2017-08-14 12:14:52 +03:00
Itai Shirav
1966896850
Support queryset slicing
2017-06-24 12:28:42 +03:00
Itai Shirav
d02d6b14eb
- Added ne
and not_in
queryset operators
...
- Querysets no longer have a default order when `order_by` is not called
- Added `autocreate` flag to database initializer
- Fix for SELECT FROM JOIN (#37 )
2017-06-15 12:19:17 +03:00
Itai Shirav
6301ab468e
fix queryset problem with non-ascii chars
2017-05-05 15:39:01 +03:00
Itai Shirav
3f8434fe50
rename QuerySet.query to as_sql
2017-05-05 15:21:55 +03:00
Itai Shirav
64bf3b423e
python 3 compatibility
2017-04-28 18:18:23 +03:00
Itai Shirav
abbe334875
queryset tests
2017-04-26 15:46:34 +03:00