Skip to content

Query: Support for constant/parameter appearing in Group By key - #17186

Merged
smitpatel merged 1 commit into
release/3.0from
smit/groupbyConstant
Aug 16, 2019
Merged

smitpatel merged 1 commit into
release/3.0from
smit/groupbyConstant

Conversation

@smitpatel

Copy link
Copy Markdown
Contributor

Constant/Parameter can be put in projection even if not appearing in grouping key in SQL.
So now we avoid putting Constant/parameter in GROUP BY clause but treat it as normal in other places.
When generating grouping key, wrap convert node to match types in initialization expression (as SQL tree ignores type nullability)
Also merged leftover async group by async tests in single version.

Resolves #14152
Resovles #16844

Constant/Parameter can be put in projection even if not appearing in grouping key in SQL.
So now we avoid putting Constant/parameter in GROUP BY clause but treat it as normal in other places.
When generating grouping key, wrap convert node to match types in initialization expression (as SQL tree ignores type nullability)
Also merged leftover async group by async tests in single version.

Resolves #14152
Resovles #16844
@smitpatel
smitpatel force-pushed the smit/groupbyConstant branch from cd7c38e to 8b45af3 Compare August 16, 2019 20:12
@smitpatel
smitpatel merged commit a79d05d into release/3.0 Aug 16, 2019
@ghost
ghost deleted the smit/groupbyConstant branch August 16, 2019 20:32
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.

Support for GroupBy key with nested structure for ODATA

2 participants