From 97c02ed6ca2398581f0f835fc43d54ce93ba924b Mon Sep 17 00:00:00 2001 From: Oleg Ovcharuk Date: Sat, 2 Nov 2024 13:54:26 +0300 Subject: [PATCH] omg it works --- requirements.txt | 4 ++-- test-requirements.txt | 5 ++--- tox.ini | 4 ++-- ydb_dbapi-0.0.1b6-py3-none-any.whl | Bin 13893 -> 0 bytes ydb_sqlalchemy/sqlalchemy/__init__.py | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) delete mode 100644 ydb_dbapi-0.0.1b6-py3-none-any.whl diff --git a/requirements.txt b/requirements.txt index 7223eea..679281d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ sqlalchemy >= 2.0.7, < 3.0.0 -ydb >= 3.18.7 -# ydb-dbapi==0.0.1b6 +ydb >= 3.18.8 +ydb-dbapi==0.0.1b7 /Users/ovcharuk/work/ydb-sqlalchemy/ydb_dbapi-0.0.1b6-py3-none-any.whl diff --git a/test-requirements.txt b/test-requirements.txt index 55572c4..ae65d61 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,9 +1,8 @@ pyyaml==5.3.1 greenlet sqlalchemy==2.0.7 -ydb >= 3.18.7 -# ydb-dbapi==0.0.1b6 -/Users/ovcharuk/work/ydb-sqlalchemy/ydb_dbapi-0.0.1b6-py3-none-any.whl +ydb >= 3.18.8 +ydb-dbapi==0.0.1b7 requests<2.29 pytest==7.2.2 docker==6.0.1 diff --git a/tox.ini b/tox.ini index c88b7d4..f654934 100644 --- a/tox.ini +++ b/tox.ini @@ -25,8 +25,8 @@ ignore_errors = True commands = docker-compose up -d python {toxinidir}/wait_container_ready.py - ; pytest -v test --dbdriver ydb --dbdriver ydb_async - pytest -v test/test_suite.py::FetchLimitOffsetTest::test_simple_offset --dbdriver ydb --dbdriver ydb_async + pytest -v test --dbdriver ydb --dbdriver ydb_async + ; pytest -v test/test_suite.py::FetchLimitOffsetTest::test_simple_offset --dbdriver ydb --dbdriver ydb_async ; pytest -v test/test_core.py::TestSimpleSelect::test_sa_select_simple test/test_core.py::TestText::test_sa_text test/test_suite.py::ContainerTypesTest::test_struct_type_bind_variable_text --dbdriver ydb --dbdriver ydb_async ; pytest -v test_dbapi pytest -v ydb_sqlalchemy diff --git a/ydb_dbapi-0.0.1b6-py3-none-any.whl b/ydb_dbapi-0.0.1b6-py3-none-any.whl deleted file mode 100644 index a7fa9924e9b0a6ceb835afb72d90f2c50e9a508e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13893 zcmai*1#le8vZhDO%nTOGVrFJ$W@aXfnVA_aCd(scX0TWmGc$vw^?5JeJ@W+!}qAH@ZD)Y}QMHw(~bN~PV{re&T*v(om6#u@<0096nez#tx#s;RwMvhht1_oC4 zR;~sH^p0M!@#C<4jL3k?=ct+DaODnf7b=dBO=J) zWHYpmC4}bQWLrJ>5oftkj_gP{7OeNVdGybw4Rg6ow*-4%t&wk6Gz8)EC_AwS5vaF@ zC6FF?JY8_F#bQ74#LgQq@7z9kRw8+mq~OLVJKql=>tqXDXnp%!C47a!rVAZ&FyAjN zD(E;cda^cP3d+4DyauB9k6HD$4XoI}0074v008zsW@X}FZ*OMeYUN<>@_S(BKy<4y*k4oc;r@V%~tx9s_vL|l~l93e`N@50}R&jk?HUlJgl2P}c zl1gKVY+=@>iQKWGQ#%S5=%wc-^De37=OWHdqHds5%?42@)kejO&1-70TkBA|@$A6S z=pWnDd_d|JXawd<)|yT^EW>XXy67D#_Y>+c$U7`Y{nkvrXc`X*ZX&6viAIPGtup>P zd2gWM>N*T+^Pc-b5urM~XHYMa8Jgl5lSVp!f|6S4hk}#J^?ny7gOk1TITtl|5s&Ht zgnaLUs#CmpakXHKm_{{CN%GPY0lo3iv8wpADSOnGMXRTqo0IST_~7lS7;F5{!Rxn@ zmd@6$Hm#C6Oe}`2{plb{IJ7^Kc7uX0Rz7$7$tpWqOwwsK~+uI z{L$7^$2jI+6te5d%!ZKV9}inPks~XjJxS*;-AUUfP`VhI9+>4Y9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6RGjq+$7i;x#x0}pY>XHOH3<*mk3z&I1Ic1!l0|6b@tScB2w?xW-WlR_=@Iwg zlCUr5eCb-3)cnQ?Hnz7rJl`u9+ zIJEZrhlNST^1fFi{kAZ*--TtQ|6xeVVj>F4qQ0|INkxKy&~4vbh?(?JTVVxSH`(tm5e4n1sRFKA*P0{(K#i~C@d@_WN5BR#Ia`+gtHhu z*=Ok7Lhse2Po5HK4m8nj485CteK+(beQe^-4!!f`A z_^(e%;9t$()lmO-ROU~_pC?iN8vp>51TOvq@y~N9e^UM|m;9UJ0sHR*`Azv(@#LS3 zKa08kW)L9$gYmD@u0IKXraS*8@L~Ns;a|zmKLLN{g8l{=;r=_|e=MYyZYZiYr20M(*FYdpFRFh;-3ra-$X9P|3C4+ pmf1gW|JS1UFC56kf583s5~(Ny@!Mem0N{Rq(SI+jcr1TC{U3LJQxgCH diff --git a/ydb_sqlalchemy/sqlalchemy/__init__.py b/ydb_sqlalchemy/sqlalchemy/__init__.py index c4ccc4e..665aa17 100644 --- a/ydb_sqlalchemy/sqlalchemy/__init__.py +++ b/ydb_sqlalchemy/sqlalchemy/__init__.py @@ -271,7 +271,7 @@ def limit_clause(self, select, **kw): select._offset_clause, types.UInt64, skip_types=(types.UInt64, types.UInt32, types.UInt16, types.UInt8) ) if select._limit_clause is None: - text += "\n LIMIT NULL" + text += "\n LIMIT 1000" # For some reason, YDB do not support LIMIT NULL OFFSET text += " OFFSET " + self.process(offset_clause, **kw) return text