Skip to content

Commit 02a9c9f

Browse files
authored
Add handling for Snowflake IN clause limit (#2404)
1 parent e7e6055 commit 02a9c9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/ohdsi/webapi/util/PreparedSqlRender.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public static int getParameterLimit(Source source) {
8484
returnVal = 990;
8585
} else if (sourceDialect.equals(DBMSType.MS_SQL_SERVER.getOhdsiDB()) || sourceDialect.equals(DBMSType.PDW.getOhdsiDB())) {
8686
returnVal = 2000;
87-
} else if (sourceDialect.equals(DBMSType.BIGQUERY.getOhdsiDB())) {
87+
} else if (sourceDialect.equals(DBMSType.BIGQUERY.getOhdsiDB()) || sourceDialect.equals(DBMSType.SNOWFLAKE.getOhdsiDB())) {
8888
returnVal = 10000;
8989
}
9090
return returnVal;

0 commit comments

Comments
 (0)