Skip to content

Conversation

kyleconroy
Copy link
Collaborator

@kyleconroy kyleconroy commented Aug 12, 2021

Add flag to skip table required check for joins when using COALESCE.

Obviously this is pretty gross hack. We really need to refactor how the type checking in sqlc works.

Fixes #1096

Add flag to skip table required check for joins when using COALESCE.
@kyleconroy kyleconroy merged commit 0dfe728 into main Aug 12, 2021
@kyleconroy kyleconroy deleted the kyle/coalesce-join-hack branch August 12, 2021 15:43
@kevinburke1
Copy link
Contributor

Thanks, Kyle!

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.

COALESCE returns a NullInt instead of an int in JOIN

2 participants