forked from drizzle-team/drizzle-orm
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/singlestore integration tests #12
Merged
apeng-singlestore
merged 6 commits into
main
from
feature/singlestore-integration-tests
Sep 30, 2024
Merged
Feature/singlestore integration tests #12
apeng-singlestore
merged 6 commits into
main
from
feature/singlestore-integration-tests
Sep 30, 2024
Commits on Sep 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 55fdb45 - Browse repository at this point
Copy the full SHA 55fdb45View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba61b82 - Browse repository at this point
Copy the full SHA ba61b82View commit details -
Configuration menu - View commit details
-
Copy full SHA for bab7f4a - Browse repository at this point
Copy the full SHA bab7f4aView commit details
Commits on Sep 25, 2024
-
Bugfix/skip unsupported relational tests (#26)
* created singlestore-proxy from mysql-proxy * singlestore integration tests * Added singlestore docker image to integration tests * singlestore custom integration tests pass * fix most of singlestore.test.ts integration tests * rewrite init.sql for each docker container * fix 'having' singlstore-prefixed.test.ts integration tests * removed nested transaction tests * changed timestamps precision to 6 and other minor IT tests fixes * fixed "set operations (union) from query builder with subquery" test * lint * fix "'set operations (union all) from query builder'" test * fix union all and intersect as function tests * fix set operations (intersect) from query builder and as function tests * Remove intersect all tests 'INTERSECT ALL' is not supported by SingleStore * Fix except tests * Removed additional intersectall tests * Fixed mixed and mixed all tests * remove .only * timestamp timezone test fix * fix select from subquery sql it test * Remove new column types (#11) * rm new columns, will add back in alter PR * rm bson, index references * Remove new column types (#11) * rm new columns, will add back in alter PR * rm bson, index references * Fix timestamp timezone test * fix build query insert with onDuplicate * fix UTC config for datetime: remove datetime as string as it is unsupported * fixed onupdate tests need to find exact match on update as singlestore doesn't guarantee order * Fixed returningid test batch insert autoincrements serial columns in singlestore, so updated test code to reflect that * remove .only * Fixed flaky mixed all test Added two possible outputs because order is not guaranteed * removed except all tests * Removed additional exceptall tests * Readded sqlite except tests * fix linting * remove unnecessary 'desc' import * Cleaned up logic for mixed all test * Fixed docker container flakiness * remove .only * created singlestore-proxy from mysql-proxy * singlestore integration tests * Added singlestore docker image to integration tests * singlestore custom integration tests pass * fix most of singlestore.test.ts integration tests * rewrite init.sql for each docker container * fix 'having' singlstore-prefixed.test.ts integration tests * fixed "set operations (union) from query builder with subquery" test * changed timestamps precision to 6 and other minor IT tests fixes * lint * fix "'set operations (union all) from query builder'" test * fix union all and intersect as function tests * fix set operations (intersect) from query builder and as function tests * Fix except tests * removed nested transaction tests * Fixed mixed and mixed all tests * remove .only * timestamp timezone test fix * fix select from subquery sql it test * Remove intersect all tests 'INTERSECT ALL' is not supported by SingleStore * Removed additional intersectall tests * Fix timestamp timezone test * fix build query insert with onDuplicate * fix UTC config for datetime: remove datetime as string as it is unsupported * fixed onupdate tests need to find exact match on update as singlestore doesn't guarantee order * Fixed returningid test batch insert autoincrements serial columns in singlestore, so updated test code to reflect that * remove .only * Fixed flaky mixed all test Added two possible outputs because order is not guaranteed * removed except all tests * Removed additional exceptall tests * Readded sqlite except tests * fix linting * remove unnecessary 'desc' import * Cleaned up logic for mixed all test * Fixed docker container flakiness * remove .only * removed transaction isolationlevel tests as singlestore only has one isolationlevel: https://docs.singlestore.com/cloud/getting-started-with-singlestore-helios/about-singlestore-helios/singlestore-helios-faqs/durability/ * removed transaction isolationlevel tests as singlestore only has one isolationlevel: https://docs.singlestore.com/cloud/getting-started-with-singlestore-helios/about-singlestore-helios/singlestore-helios-faqs/durability/ * fix linting * removed isolation level since S2 only supports READ COMMITTED isolation level * rm mode * SingleStore2 -> SingleStoreDriver * fix tsc * rm unused dialect func * lint fix * fix type test * fix integration tests * update brocli version * Added singlestore docker image to integration tests * singlestore custom integration tests pass * merge all commits * create singlestore replicas tests * change mysql protocol to singlestore on integration tests connection string remove .only * Delete test-docker.js * Delete init.sql * Removed comment * removed singlestoreproxy references * new singlestore relational and duplicated IT tests * add planetscale mode to allow for tests with schema * Removed + skipped unsupported tests Nested Scalar Subselects in Project List: "The query cannot be executed. SingleStore does not support this type of query: nested scalar subselects in project list." Subselect in Aggregate Functions (duplicates.test and test): "Feature 'Subselect in aggregate functions' is not supported by SingleStore. Near '(select json_agg(JSON_BUILD_OBJECT(...)) at line 1, character ...'." * Updated remaining non-skipped tests to be order agnostic * fixed two additional tests to be order agnostic * skipping not supported relational it tests * skipped unsupported tests * remove 'mode' from relational it tests * Delete skip-failing-tests.js --------- Co-authored-by: apeng-singlestore <[email protected]> Co-authored-by: Mitchell Adair <[email protected]> Co-authored-by: Mitchell Adair <[email protected]> Co-authored-by: Alex Blokh <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51500b4 - Browse repository at this point
Copy the full SHA 51500b4View commit details
Commits on Sep 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2be01b2 - Browse repository at this point
Copy the full SHA 2be01b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a80feb3 - Browse repository at this point
Copy the full SHA a80feb3View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.