Skip to content

Conversation

@weiznich
Copy link
Member

This commit adds support for more expression types to diesel_infer_schema. After this change we have limited support for wild cards, function calls, binary operations and some special operations like BETWEEN and CASE WHEN. This hopefully helps to infer slightly more complex view definitions correctly.

I still expect at least one or two other rounds of additions here to support subqueries and more complicated constructs (CTE's, UNION's, etc) as well.

@weiznich weiznich requested a review from a team November 15, 2025 08:45
@weiznich weiznich force-pushed the infer_query/more_expressions branch 2 times, most recently from a0cdb3d to 25899d2 Compare November 17, 2025 12:49
This commit adds support for more expression types to
diesel_infer_schema. After this change we have limited support for wild
cards, function calls, binary operations and some special operations
like `BETWEEN` and `CASE WHEN`. This hopefully helps to infer slightly
more complex view definitions correctly. 

I still expect at least one or two other rounds of additions here to
support subqueries and more complicated constructs (CTE's, UNION's, etc) as well.
@weiznich weiznich force-pushed the infer_query/more_expressions branch from 25899d2 to ddeb67a Compare November 17, 2025 12:57
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.

1 participant