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 2022/10/06 19:36:00 UTC

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

Pavel Tupitsyn created IGNITE-17842:
---------------------------------------

             Summary: .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
             Fix For: 2.15


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)