Commit c04e909
Downgrade FetchSize log messages from WARN to DEBUG (#1237)
## Summary
- Downgrade `setFetchSize()` and `getFetchSize()` log messages from
`WARN` to `DEBUG` in both `DatabricksStatement` and
`DatabricksResultSet`
- SQLWarnings are still added per JDBC spec so callers can discover the
unsupported feature
## Root Cause
BI tools like Metabase call `setFetchSize()`/`getFetchSize()` on every
query as part of standard JDBC usage. Each call logged a WARN-level
message, flooding logs with thousands of warnings for expected, harmless
behavior.
## Test plan
- [x] `DatabricksStatementTest` — 83 tests pass
- [x] `DatabricksResultSetTest` — 53 tests pass
Fixes #1208
🤖 Generated with [Claude Code](https://claude.com/claude-code)
NO_CHANGELOG=true
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3aec164 commit c04e909
2 files changed
Lines changed: 9 additions & 5 deletions
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
760 | 760 | | |
761 | 761 | | |
762 | 762 | | |
763 | | - | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
764 | 766 | | |
765 | 767 | | |
766 | 768 | | |
767 | 769 | | |
768 | 770 | | |
769 | 771 | | |
770 | | - | |
771 | | - | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
772 | 776 | | |
773 | 777 | | |
774 | 778 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
| 363 | + | |
364 | 364 | | |
365 | 365 | | |
366 | 366 | | |
| |||
0 commit comments