Skip to content

Commit

Permalink
Merge pull request #124 from forcedotcom/sonal/W-12387797
Browse files Browse the repository at this point in the history
@W-12387797: 1.17.0 release for tableau users to use hyper engine always
  • Loading branch information
soaggarwal authored Feb 13, 2023
2 parents 1de22a8 + a2dae29 commit 2920b65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.queryService</groupId>
<artifactId>Salesforce-CDP-jdbc</artifactId>
<version>1.16.0</version>
<version>1.17.0</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,12 @@ public QueryServiceConnection(String url, Properties properties) throws SQLExcep

this.isSocksProxyDisabled = Boolean.parseBoolean(this.properties.getProperty(Constants.DISABLE_SOCKS_PROXY));

boolean isTableauConnection = Constants.TABLEAU_USER_AGENT_VALUE.equals(properties.getProperty(Constants.USER_AGENT));

// default `enableStreamFlow` is false
enableStreamFlow = Boolean.parseBoolean(this.properties.getProperty(Constants.ENABLE_STREAM_FLOW, Constants.FALSE_STR));
enableStreamFlow = isTableauConnection || Boolean.parseBoolean(this.properties.getProperty(Constants.ENABLE_STREAM_FLOW, Constants.FALSE_STR));

log.info("isTableauConnection {}, enableStreamFlow {}", isTableauConnection, enableStreamFlow);

// use isValid to test connection
this.isValid(20);
Expand Down

0 comments on commit 2920b65

Please sign in to comment.