Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2024 06:28 AM
As I see it, there's two things:
- jdbcTemplate converts boolean to bit. This is according to JDBC specs (this is a "spring-jdbc" thing and according to documentation; the jdbcTemplate.queryForList makes the best possible guess of the desired type).
- Databricks can't handle a boolean marked as bit
Either using PreparedStatement or queryForList(sql, args, argTypes) works.