You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.sql.SQLFeatureNotSupportedException: null
at org.duckdb.DuckDBPreparedStatement.addBatch(DuckDBPreparedStatement.java:606)
at nextflow.sql.InsertHandler.executeStm(InsertHandler.groovy:189)
at nextflow.sql.InsertHandler.performAsTuple(InsertHandler.groovy:168)
at nextflow.sql.InsertHandler.perform(InsertHandler.groovy:144)
at nextflow.sql.ChannelSqlExtension$_sqlInsert_closure3.doCall(ChannelSqlExtension.groovy:123)
We thought maybe if the old method without batch was used that might be a quick fix. However we also decided running a ton of queries on the headnode was a anti-pattern.
Example:
Main error via @bentsherman
nextflow.log
Then I talked to @abhi18av who hunted down that this line is the issue.
nf-sqldb/plugins/nf-sqldb/src/main/nextflow/sql/InsertHandler.groovy
Line 239 in e9f3da6
He then dove into the DuckDB JDBC and found the feature isn't supported 🙃
We thought maybe if the old method without batch was used that might be a quick fix. However we also decided running a ton of queries on the headnode was a anti-pattern.
Regardless, good things come to those who wait, there's a PR to add batch functionality!
The text was updated successfully, but these errors were encountered: