fix: fix Snowflake JDBC driver connectivity issue (#19827)
## Description
- Use `JSON` format instead of `Arrow` format.
- Update JDBC connector package version.
- Remove redundant dependency inclusion lines from POM file.
Fixes #19784
(cherry picked from commit 2a6deacbed)
This commit is contained in:
parent
d009c2457c
commit
0fd54046d2
|
|
@ -24,42 +24,10 @@
|
|||
</properties>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-core</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-web</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-webflux</artifactId>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>io.projectreactor</groupId>
|
||||
<artifactId>reactor-core</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-core</artifactId>
|
||||
</exclusion>
|
||||
<exclusion>
|
||||
<groupId>org.springframework</groupId>
|
||||
<artifactId>spring-web</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>net.snowflake</groupId>
|
||||
<artifactId>snowflake-jdbc</artifactId>
|
||||
<version>3.13.25</version>
|
||||
<version>3.13.26</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
|
|
|||
|
|
@ -98,6 +98,8 @@ public class SnowflakePlugin extends BasePlugin {
|
|||
properties.setProperty("db", String.valueOf(datasourceConfiguration.getProperties().get(1).getValue()));
|
||||
properties.setProperty("schema", String.valueOf(datasourceConfiguration.getProperties().get(2).getValue()));
|
||||
properties.setProperty("role", String.valueOf(datasourceConfiguration.getProperties().get(3).getValue()));
|
||||
/* Ref: https://github.com/appsmithorg/appsmith/issues/19784 */
|
||||
properties.setProperty("jdbc_query_result_format", "json");
|
||||
|
||||
return Mono
|
||||
.fromCallable(() -> {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user