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
Optimize PatientMapper IN clauses for ClickHouse JDBC performance (#11673)
Replace foreach loops generating multiple prepared statement parameters with
single array parameter using ArrayTypeHandler. This significantly improves
performance with ClickHouse JDBC connections by reducing parameter overhead.
- Use CONCAT(study_id, ':', patient_id) with ArrayTypeHandler
- Add SqlUtils.combineStudyAndPatientIds() utility method
- Apply optimization to both patient and sample lookup queries
- Maintain security through proper parameter binding
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-authored-by: Claude <[email protected]>
0 commit comments