-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers
Description
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
Assignees
Labels
bugSomething isn't workingSomething isn't workinggood first issueGood for newcomersGood for newcomers