Skip to content

Conversation

@andrewmbenton
Copy link
Collaborator

This is a fix for the issue causing a panic in #2416, but sqlc doesn't correctly handle cases where so-called SQL "value" functions appear in FROM clauses. I'm doubtful that sqlc ever supported this correctly.

The query in the test-case I added (SELECT * from CURRENT_DATE;) is valid, but as you can see from the generated output it won't actually produce the desired result. I will open a new issue for this.

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