Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

orms / SQLAlchemy support for SQLite Cloud Python driver #21

Closed
jacobprall opened this issue Jul 31, 2024 · 3 comments
Closed

orms / SQLAlchemy support for SQLite Cloud Python driver #21

jacobprall opened this issue Jul 31, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@jacobprall
Copy link
Member

jacobprall commented Jul 31, 2024

#2

@jacobprall jacobprall added the enhancement New feature or request label Jul 31, 2024
@unatarajan unatarajan self-assigned this Jul 31, 2024
@unatarajan
Copy link

unatarajan commented Jul 31, 2024

Including

Will test again after fix is implemented.

@danielebriggi
Copy link
Member

danielebriggi commented Aug 22, 2024

Updates for the fix of these tests will be tracked here: #32


Run on Python 3.6 and Python 3.11

Failing tests:

================================================================================================================================================================================ short test summary info ================================================================================================================================================================================
FAILED test/test_suite.py::CompoundSelectTest_sqlite+sqlitecloud_3_34_1::test_limit_offset_in_unions_from_alias - sqlalchemy.exc.DBAPIError: (sqlitecloud.exceptions.SQLiteCloudOperationalError) near "UNION": syntax error
FAILED test/test_suite.py::CompoundSelectTest_sqlite+sqlitecloud_3_34_1::test_limit_offset_selectable_in_unions - sqlalchemy.exc.DBAPIError: (sqlitecloud.exceptions.SQLiteCloudError) Unable to find command (SELECT some_table.id, some_table.x, some_table.y 
FAILED test/test_suite.py::CompoundSelectTest_sqlite+sqlitecloud_3_34_1::test_order_by_selectable_in_unions - sqlalchemy.exc.DBAPIError: (sqlitecloud.exceptions.SQLiteCloudError) Unable to find command (SELECT some_table.id, some_table.x, some_table.y 
FAILED test/test_suite.py::DeprecatedCompoundSelectTest_sqlite+sqlitecloud_3_34_1::test_limit_offset_selectable_in_unions - sqlalchemy.exc.DBAPIError: (sqlitecloud.exceptions.SQLiteCloudError) Unable to find command (SELECT some_table.id, some_table.x, some_table.y 
FAILED test/test_suite.py::DeprecatedCompoundSelectTest_sqlite+sqlitecloud_3_34_1::test_order_by_selectable_in_unions - sqlalchemy.exc.DBAPIError: (sqlitecloud.exceptions.SQLiteCloudError) Unable to find command (SELECT some_table.id, some_table.x, some_table.y 
FAILED test/test_suite.py::ExceptionTest_sqlite+sqlitecloud_3_34_1::test_integrity_error - sqlalchemy.exc.DBAPIError: (sqlitecloud.exceptions.SQLiteCloudIntegrityError) UNIQUE constraint failed: manual_pk.id
FAILED test/test_suite.py::RowCountTest_sqlite+sqlitecloud_3_34_1::test_multi_delete_rowcount - AssertionError: 0 != 2
FAILED test/test_suite.py::RowCountTest_sqlite+sqlitecloud_3_34_1::test_multi_update_rowcount - AssertionError: 0 != 2
================================================================================================================================================================ 8 failed, 323 passed, 285 skipped in 646.12s (0:10:46) =================================================================================================================================================================

@jacobprall jacobprall changed the title SQLAlchemy support for SQLite Cloud Python driver orms / SQLAlchemy support for SQLite Cloud Python driver Aug 23, 2024
@danielebriggi
Copy link
Member

@unatarajan the packaged has been updated. You can see to use sqlalchemy now instead of pandas for sqlitecloud integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants