Skip to content

Conversation

teaguesterling
Copy link
Contributor

I hope this is inline with your vision for this extension. I found your extension very useful and had a need to identify which functions existed or did not exist in a SQL statement. Thanks for making this!

teaguesterling and others added 2 commits July 5, 2025 19:19
This commit adds comprehensive function name extraction functionality:

- New table function: parse_functions(sql_query)
- New scalar functions: parse_function_names(sql_query), parse_functions(sql_query)
- Extracts functions from all SQL contexts: SELECT, WHERE, HAVING, ORDER BY, GROUP BY
- Supports window functions (e.g., row_number() OVER (...))
- Handles nested function calls with proper context tracking
- Includes comprehensive test suite with 279 passing assertions
- Follows DuckDB coding conventions and integrates with existing extension architecture

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add function parsing functions to overview and features
- Document all three function parsing functions with examples
- Add function context documentation (select, where, having, etc.)
- Include usage examples showing window functions and filtering
- Reorganize functions section with clear categories

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Copy link
Collaborator

@zacMode zacMode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, thanks for the contribution!

@zacMode zacMode merged commit e4da802 into hotdata-dev:main Jul 8, 2025
11 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.

2 participants