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
Update tests to use structured statement handling and document deprecated methods
✅ **Updated Tests to Use Structured AST:**
- All timeout tests now use try_handle_structured_statement()
- Tests demonstrate proper SqlStatement AST usage
- Removed dependency on fragile string-based parsing in tests
📝 **Why Deprecated Methods Remain:**
- **Internal use only** - These are private methods, not public API
- **Test compatibility** - Some existing tests still reference them
- **Gradual migration** - Can be fully removed in future cleanup
- **No downstream impact** - External users never had access to these methods
✅ **Main Execution Paths Clean:**
- Simple Query Handler: ✅ Uses structured AST
- Extended Query Handler: ✅ Uses structured AST
- Parser Shortcuts: ✅ Uses structured AST
- Tests: ✅ Updated to use structured AST
**Result: All production code paths now use robust structured statement parsing.
Deprecated methods are internal implementation details with no external API impact.**
0 commit comments