Itai Shirav
54c67f2777
Fix tests for ClickHouse v20.3
2020-03-16 10:24:02 +02:00
Itai Shirav
4848c7f813
Support LowCardinality columns in ad-hoc queries
2019-12-12 22:09:35 +02:00
Itai Shirav
a765b5fe5f
Format of database error messages changed, update failing tests
2019-05-12 10:27:10 +03:00
Itai Shirav
81e942a4d2
Fix pagination when asking for the last page on a query that matches no records
2019-02-26 22:58:59 +02:00
Itai Shirav
5c78c315ee
Update test to verify issue #89
2018-12-14 08:29:08 +02:00
Itai Shirav
f24749112e
support decimal fields
2018-10-14 09:26:07 +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
44d3dcee34
Added Database.does_table_exist
method
2018-08-19 18:20:17 +03:00
Itai Shirav
acf2f7a189
Check for database existence, to allow delayed creation
2018-08-19 18:02:37 +03:00
kalombo
a32453394a
add support for Filtering null values
2018-06-26 17:20:11 +05:00
Itai Shirav
86f05a0c23
Python 3 compatibility
2018-06-10 16:17:35 +03:00
Itai Shirav
ab0755ad90
- Rename Model.system
to Model._system
to prevent collision with a column that has the same name
...
- Rename `Model.readonly` to `Model._readonly` to prevent collision with a column that has the same name
- The `field_names` argument to `Model.to_tsv` is now mandatory
2018-05-14 07:09:57 -04:00
Itai Shirav
1bd3e63cd4
minor improvements in error handling and testing
2018-05-10 15:24:38 +03:00
Ivan Ladelshchikov
57112f9de6
add ServerError exception
2018-04-21 11:48:32 +03:00
M1ha
911af41ec1
Fixed https://github.com/Infinidat/infi.clickhouse_orm/issues/56 issue
2017-10-04 17:53:23 +05:00
Marsel
c4e60ca2a8
Include unicode_literals
2017-08-20 10:37:11 +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
b3437dae7e
Add a couple of small tests
2017-05-05 15:22:16 +03:00
Itai Shirav
7c26c4da5a
Refactor tests with data
2017-04-24 13:14:13 +03:00
Itai Shirav
e1ef96f05b
Add a test for "with totals"
2017-04-04 14:41:23 +03:00
Itai Shirav
1d573ded96
Merge branch 'develop' of https://github.com/emakarov/infi.clickhouse_orm into emakarov-develop
...
# Conflicts:
# src/infi/clickhouse_orm/models.py
# tests/test_database.py
2017-02-19 09:12:00 +02:00
M1ha
6f975a801c
1) Added get_database method to Model
...
2) Added some assertions in tests for adding _database attribute in selects and inserts
3) database.insert() method sets _database
2017-02-19 09:04:32 +02:00
M1ha
db61efd4cc
1) Added readonly models
...
2) Added SystemPart models in order to execute partition operations
2017-02-19 09:01:33 +02:00
emakarov
77b33c0ed4
test added. engine sql query fix to support special characters
2017-02-08 23:21:48 +03:00
Itai Shirav
5b03e66048
Send readonly=1 when database is created in readonly mode
2017-02-07 16:36:41 +02:00
Itai Shirav
ce8c77684e
Allow passing -1 as the page number (returning the last page)
2017-01-25 15:10:14 +02:00
Itai Shirav
071bcd283d
Add Python 3 support
2016-08-01 10:28:10 +03:00
Itai Shirav
b4f4af8c75
support pagination
2016-07-03 15:39:08 +03:00
Itai Shirav
c6c9f13e51
Support dashes and other special characters in database names and table names
2016-06-30 11:36:54 +03:00
Itai Shirav
92ea9d413e
support ad-hoc models
2016-06-26 15:11:16 +03:00
Itai Shirav
9262f0eae6
add database.select and field range checks
2016-06-23 19:05:44 +03:00
Itai Shirav
b08f1b3688
model field conversion on assignment
2016-06-23 18:24:20 +03:00