Skip to content

Commit dc6f3fe

Browse files
authored
prepare release v1.7.0 (#262)
1 parent f4763da commit dc6f3fe

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release History
22

3+
## v1.7.0 (2025-04-09)
4+
5+
- Enable cloud fetch mode by default (databricks/databricks-sql-go#260)
6+
- Handle thrift protocol version for conditional feature support (direct results, LZ4 compression, Arrow support, parameterized queries) (databricks/databricks-sql-go#261)
7+
38
## v1.6.2 (2025-03-18)
49

510
- Support positional query parameters (databricks/databricks-sql-go#247)

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,15 @@ You can set query timeout value by appending a `timeout` query parameter (in sec
4646
```
4747
token:[your token]@[Workspace hostname]:[Port number][Endpoint HTTP Path]?timeout=1000&maxRows=1000
4848
```
49-
You can turn on Cloud Fetch to increase the performance of extracting large query results by fetching data in parallel via cloud storage (more info [here](https://www.databricks.com/blog/2021/08/11/how-we-achieved-high-bandwidth-connectivity-with-bi-tools.html)). To turn on Cloud Fetch, append `useCloudFetch=true`. You can also set the number of concurrently fetching goroutines by setting the `maxDownloadThreads` query parameter (default is 10):
49+
You can turn on Cloud Fetch (now enabled by default) to increase the performance of extracting large query results by fetching data in parallel via cloud storage (more info [here](https://www.databricks.com/blog/2021/08/11/how-we-achieved-high-bandwidth-connectivity-with-bi-tools.html)). You can also set the number of concurrently fetching goroutines by setting the `maxDownloadThreads` query parameter (default is 10):
50+
5051
```
5152
token:[your token]@[Workspace hostname]:[Port number][Endpoint HTTP Path]?useCloudFetch=true&maxDownloadThreads=3
5253
```
54+
To disable Cloud Fetch (e.g., when handling smaller datasets or to avoid additional overhead), append `useCloudFetch=false`:
55+
```
56+
token:[your token]@[Workspace hostname]:[Port number][Endpoint HTTP Path]?useCloudFetch=false
57+
```
5358

5459
### Connecting with a new Connector
5560

doc.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Supported optional connection parameters can be specified in param=value and inc
3737
- maxRows: Sets up the max rows fetched per request. Default is 100000
3838
- timeout: Adds timeout (in seconds) for the server query execution. Default is no timeout
3939
- userAgentEntry: Used to identify partners. Set as a string with format <isv-name+product-name>
40-
- useCloudFetch: Used to enable cloud fetch for the query execution. Default is false
40+
- useCloudFetch: Used to enable cloud fetch for the query execution. Default is true
4141
- maxDownloadThreads: Sets up the max number of concurrent workers for cloud fetch. Default is 10
4242
- authType: Specifies the desired authentication type. Valid values are: Pat, OauthM2M, OauthU2M
4343
- accessToken: Personal access token. Required if authType set to Pat
@@ -85,7 +85,7 @@ Supported functional options include:
8585
- WithSessionParams(<params_map> map[string]string): Sets up session parameters including "timezone" and "ansi_mode". Optional
8686
- WithTimeout(<timeout> Duration). Adds timeout (in time.Duration) for the server query execution. Default is no timeout. Optional
8787
- WithUserAgentEntry(<isv-name+product-name> string). Used to identify partners. Optional
88-
- WithCloudFetch (bool). Used to enable cloud fetch for the query execution. Default is false. Optional
88+
- WithCloudFetch (bool). Used to enable cloud fetch for the query execution. Default is true. Optional
8989
- WithMaxDownloadThreads (<num_threads> int). Sets up the max number of concurrent workers for cloud fetch. Default is 10. Optional
9090
- WithAuthenticator (<authenticator> auth.Authenticator). Sets up authentication. Required if neither access token or client credentials are provided.
9191
- WithClientCredentials(<clientID> string, <clientSecret> string). Sets up Oauth M2M authentication.

driver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func init() {
1313
sql.Register("databricks", &databricksDriver{})
1414
}
1515

16-
var DriverVersion = "1.6.2" // update version before each release
16+
var DriverVersion = "1.7.0" // update version before each release
1717

1818
type databricksDriver struct{}
1919

0 commit comments

Comments
 (0)