Skip to content

Conversation

@jgaleotti
Copy link
Collaborator

### Summary

This pull request introduces support for a range of advanced SQL features and general heuristic improvements. The updates ensure better handling and support for complex SQL structures, making the SQL processing logic more robust and comprehensive.

### Changelog

- **Multischema Handling**: Utilized `nullSafeEndsWithIgnoreCase` to retrieve `DataRow` values.
- **SQL Heuristics Improvements**:
  - Added handling for parenthesized select items.
  - Introduced support for Common Table Expressions (CTEs), including alias resolution.
  - Enhanced detection of tables and columns in DELETE statements with subqueries.
  - Improved evaluation of `ORDER BY` expressions.
  - Specific logic added for `SELECT` queries with `LIMIT` clauses.
- **New SQL Function Support**:
  - Added support for functions: `LOWER()`, `NOW()`, `DATE_TRUNC()`, and `COALESCE()`.
  - Enhancements for `TIME()` function.

@jgaleotti jgaleotti requested a review from arcuri82 December 1, 2025 18:48
@arcuri82
Copy link
Collaborator

arcuri82 commented Dec 2, 2025

hi @jgaleotti you requested a review, but then made a new push that broke CI.

@jgaleotti
Copy link
Collaborator Author

jgaleotti commented Dec 2, 2025 via email

@jgaleotti
Copy link
Collaborator Author

CI is now passing.

@jgaleotti
Copy link
Collaborator Author

CI is now passing. The PR is ready for your revision @arcuri82

@jgaleotti jgaleotti requested a review from arcuri82 January 15, 2026 15:21
@arcuri82 arcuri82 merged commit fc9f787 into master Jan 16, 2026
15 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants