-
Notifications
You must be signed in to change notification settings - Fork 45
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
Hand over odbc_kwargs["encrypt"]="yes" as -Ym and "no" as -Yo over to bcp command line tool #130
Comments
Sorry for submitting three issues in a row. I can prepare a pull-request about how the issues could be fixed. The three issues are related in that they cause trouble when testing with Linux version of SQL Server in a container. |
I see that you also use linux based docker container for testing. I am not an expert here, but I see several setups that use Encrypt option |
…kwargs fixes yehoshuadimarsky#130 stores sql_creds.driver_version to simplify copy construction of SqlCreds Disclaimer: I currently don't have a test environment that can execute tests with `@pytest.mark.usefixtures("database")` and tested with user repository instead of unit tests
…kwargs fixes yehoshuadimarsky#130 stores sql_creds.driver_version to simplify copy construction of SqlCreds Disclaimer: I currently don't have a test environment that can execute tests with `@pytest.mark.usefixtures("database")` and tested with user repository instead of unit tests
…kwargs fixes yehoshuadimarsky#130 stores sql_creds.driver_version to simplify copy construction of SqlCreds Disclaimer: I currently don't have a test environment that can execute tests with `@pytest.mark.usefixtures("database")` and tested with user repository instead of unit tests
…kwargs fixes yehoshuadimarsky#130 stores sql_creds.driver_version to simplify copy construction of SqlCreds Disclaimer: I currently don't have a test environment that can execute tests with `@pytest.mark.usefixtures("database")` and tested with user repository instead of unit tests
…kwargs fixes yehoshuadimarsky#130 stores sql_creds.driver_version to simplify copy construction of SqlCreds Disclaimer: I currently don't have a test environment that can execute tests with `@pytest.mark.usefixtures("database")` and tested with user repository instead of unit tests
Spinning up a SQL Server database as Linux running container is a nice way to test code meant for SQL Server databases. However, to use bcpandas with such a database, we need to pass
?Encrypt=no
to the sqlalchemy connect string. This can be handed over to bcpandas.sqlCreds asodbc_kwargs["Encrypt"]="no"
. When running bcp executable this needs to be translated to adding argument-Yo
.The text was updated successfully, but these errors were encountered: