You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2023/04/07 14:20:00 UTC

[jira] [Updated] (IGNITE-17842) .NET: LINQ GroupBy with anonymous type produces invalid SQL

     [ https://issues.apache.org/jira/browse/IGNITE-17842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Tupitsyn updated IGNITE-17842:
------------------------------------
    Fix Version/s:     (was: 2.15)

> .NET: LINQ GroupBy with anonymous type produces invalid SQL
> -----------------------------------------------------------
>
>                 Key: IGNITE-17842
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17842
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: .NET
>
> To reproduce, change *TestGroupBy* like this:
> {code}
> CollectionAssert.AreEquivalent(new[] { 1000, 1001 },
>                 persons.GroupBy(x => new { I0 = x.Value.OrganizationId }).Select(x => x.Key.I0).ToArray());
> {code}
> Result:
> {code}
> Apache.Ignite.Core.Common.IgniteException : Failed to parse query. Column "_T0.I0" not found; SQL statement:
> select _T0.I0 from PERSON_ORG_SCHEMA.Person as _T0 group by (_T0.ORGANIZATIONID)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)