Query with SELECT "table".*
produces invalid SELECT table.columnx.*
#2195
Labels
SELECT "table".*
produces invalid SELECT table.columnx.*
#2195
Version
1.17.2
What happened?
The trailing
.*
gets appended to the last column when trying to scope*
to a specific table in a join query.becomes
Here are the exact inputs and outputs
I need to go fix this. I'm just documenting it here for now. I see there are hundreds of open issues, so HMU if you need more info to investigate and I'll provide it.
Relevant log output
Database schema
No response
SQL queries
Configuration
Playground URL
https://play.sqlc.dev/p/c81734d4c314b5313bfbd8547c20412f49594b8194665ba09107ed45bf286f76
What operating system are you using?
macOS
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go
The text was updated successfully, but these errors were encountered: