Skip to content

Commit

Permalink
Add handling for Snowflake IN clause limit (#2404)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonysena authored Dec 3, 2024
1 parent e7e6055 commit 02a9c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/ohdsi/webapi/util/PreparedSqlRender.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static int getParameterLimit(Source source) {
returnVal = 990;
} else if (sourceDialect.equals(DBMSType.MS_SQL_SERVER.getOhdsiDB()) || sourceDialect.equals(DBMSType.PDW.getOhdsiDB())) {
returnVal = 2000;
} else if (sourceDialect.equals(DBMSType.BIGQUERY.getOhdsiDB())) {
} else if (sourceDialect.equals(DBMSType.BIGQUERY.getOhdsiDB()) || sourceDialect.equals(DBMSType.SNOWFLAKE.getOhdsiDB())) {
returnVal = 10000;
}
return returnVal;
Expand Down

0 comments on commit 02a9c9f

Please sign in to comment.