Skip to content
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

Supporting InterSystems IRIS #419

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public enum DBMSType {
NETEZZA("Netezza", "netezza"),
HIVE("Apache Hive", "hive"),
SPARK("Spark", "spark"),
IRIS("Iris", "iris"),
SNOWFLAKE("Snowflake", "snowflake"),
SYNAPSE("Azure Synapse", "synapse");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ private static ConnectionStringParser getParser(DBMSType dbmsType) {
case PDW:
case SNOWFLAKE:
case SPARK:
case IRIS:
case SYNAPSE:
return new GenericParser();
case REDSHIFT:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public class DriverLocations {
private String snowflake;
@Value("${drivers.location.spark}")
private String spark;
@Value("${drivers.location.iris}")
private String iris;

public String getPath(DBMSType type) {
switch (type) {
Expand All @@ -53,14 +55,17 @@ public String getPath(DBMSType type) {
return snowflake;
case SPARK:
return spark;
case IRIS:
return iris;

default:
return null;
}
}

public String getPathExclusions() {
return Stream.of(
impala, bigQuery, netezza, hive, mssql, postgres, redshift, oracle, snowflake, spark
impala, bigQuery, netezza, hive, mssql, postgres, redshift, oracle, snowflake, spark, iris
).filter(StringUtils::isNotBlank).map(path ->
path.startsWith("/") ? path.substring(1) : path
).map(path ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public SqlMetadataService getMetadataService(DataSourceUnsecuredDTO dataSource)
result = new OracleMetadataService(dataSource);
break;
case REDSHIFT:
case IRIS:
result = new RedshiftMetadataService(dataSource);
break;
case IMPALA:
Expand Down
1 change: 1 addition & 0 deletions engine/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ drivers:
oracle: /oracle
snowflake: /snowflake
spark: /spark
iris: /iris
bulkload:
enableMPP: false
hive:
Expand Down