-
Notifications
You must be signed in to change notification settings - Fork 185
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
synapse
and mssql
bugfixes and improvements
#1174
Conversation
✅ Deploy Preview for dlt-hub-docs canceled.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please take a look at test_insert_job_client
, you should add synapse there:
DEFAULT_SUBSET = ["duckdb", "redshift", "postgres"]
and also mssql (it also uses inserts)
you can then merge your test into it
…m/dlt-hub/dlt into 1173-bug-select-union-buffer-size
select_union
writer type (bugfix)synapse
and mssql
bugfixes and improvements
@rudolfix I added Can you review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! thanks for improving the tests!!
Description
This PR
select_union
insert values writer type to fixselect_union
insert values writer type fails with buffered writing #1173max_rows_per_insert
property to prevent "Some part of your SQL statement is nested too deeply. Rewrite the query or break it up into smaller queries." errorsmssql
andsynapse
to set of tested destinations intest_insert_job_client.py
for better test coverageSynapseStagingCopyJob.generate_sql
by passing thejob_client
as argumentPyOdbcMsSqlClient.rollback_transaction
such that it won't fail if there is nothing to rollbackRelated Issues
select_union
insert values writer type fails with buffered writing #1173