Skip to content

bug EntityFramework.Ydb: Status: GenericError #531

@KirillKurdyukov

Description

@KirillKurdyukov
An exception of type 'Ydb.Sdk.Ado.YdbException' occurred in System.Private.CoreLib.dll but was not handled in user code
Status: GenericError, Issues:
[1030] Error: Type annotation
    [0] (3:1) Error: At function: RemovePrefixMembers, At function: PersistableRepr, At function: SqlProject, At function: SqlProjectItem
        [0] (3:8) Error: At function: Coalesce
            [0] (3:8) Error: uncompatible coalesce types, first type: Optional<Decimal(35,9)>, second type: Double

Repro:

var query = dbContext.Packets
    .Where(_ => _.A > startTimestamp && _.A < endTimestamp)
    .OrderByDescending(_ => _.A)
    .AsQueryable();
var bytesSum = await query.Select(_ => _.B).SumAsync();
public class PacketSet
    {
        public Guid Id { get; set; }
        public UInt64 A { get; set; }
        public decimal B { get; set; }
    }

Metadata

Metadata

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions