Commit 678b292 1 parent 2ad3b3d commit 678b292 Copy full SHA for 678b292
File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ This starts two containers called `odbc2parquet_dev` and `odbc2parquet_mssql`. Y
25
25
Otherwise you can manually install these requirements from here:
26
26
27
27
* Install Rust compiler and Cargo. Follow the instructions on [ this site] ( https://www.rust-lang.org/en-US/install.html ) .
28
- * [ Microsoft ODBC Driver 17 for SQL Server] ( https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver15 ) .
28
+ * [ Microsoft ODBC Driver 18 for SQL Server] ( https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver15 ) .
29
29
* An ODBC Driver manager if you are not on windows: http://www.unixodbc.org/
30
30
* The command line tools shipping with the ` parquet ` crate are invoked by the tests. ` cargo install parquet --features cli ` .
31
31
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ Use `odbc2parquet help query` to see all options related to fetching data.
126
126
127
127
``` bash
128
128
odbc2parquet query \
129
- --connection-string " Driver={ODBC Driver 17 for SQL Server};Server=localhost;UID=SA;PWD=<YourStrong@Passw0rd>;" \
129
+ --connection-string " Driver={ODBC Driver 18 ` for SQL Server}; Server=localhost; UID=SA; PWD=< YourStrong@Passw0rd> ; TrustServerCertificate=yes ; " \
130
130
out.par \
131
131
" SELECT * FROM Birthdays"
132
132
` ` `
@@ -146,7 +146,7 @@ out.par1 \
146
146
147
147
` ` ` shell
148
148
odbc2parquet query \
149
- --connection-string " Driver={ODBC Driver 17 for SQL Server};Server=localhost;UID=SA;PWD=<YourStrong@Passw0rd>;" \
149
+ --connection-string " Driver={ODBC Driver 18 for SQL Server}; Server=localhost; UID=SA; PWD=< YourStrong@Passw0rd> ; TrustServerCertificate=yes ; " \
150
150
out.par \
151
151
" SELECT * FROM Birthdays WHERE year > ? and year < ? " \
152
152
1990 2010
@@ -168,7 +168,7 @@ odbc2parquet list-data-sources
168
168
169
169
` ` ` shell
170
170
odbc2parquet insert \
171
- --connection-string " Driver={ODBC Driver 17 for SQL Server};Server=localhost;UID=SA;PWD=<YourStrong@Passw0rd>;" \
171
+ --connection-string " Driver={ODBC Driver 18 for SQL Server}; Server=localhost; UID=SA; PWD=< YourStrong@Passw0rd> ; TrustServerCertificate=yes ; " \
172
172
input.par \
173
173
MyTable
174
174
` ` `
Original file line number Diff line number Diff line change @@ -79,7 +79,8 @@ fn append_user_and_password_to_connection_string() {
79
79
TableMssql :: new ( table_name, & [ "VARCHAR(10)" ] ) ;
80
80
81
81
// Connection string without user name and password.
82
- let connection_string = "Driver={ODBC Driver 17 for SQL Server};Server=localhost;" ;
82
+ let connection_string = "Driver={ODBC Driver 18 for SQL Server};Server=localhost;\
83
+ TrustServerCertificate=yes;";
83
84
// A temporary directory, to be removed at the end of the test.
84
85
let out_dir = tempdir ( ) . unwrap ( ) ;
85
86
// The name of the output parquet file we are going to write. Since it is in a temporary
You can’t perform that action at this time.
0 commit comments