查询中的溢出错误,没有计算

时间:2017-04-12 18:00:58

标签: sql postgresql overflow amazon-redshift

我试图在var someParents = new List<POC> { new POC(1, "A"), new POC(2, "B") }; var somechildren = new List<ChildPOC> { new ChildPOC(1, "Brett", "x"), new ChildPOC(1, "Emily", "X"), new ChildPOC(2, "John", "Y") }; 上运行以下查询:

var relationships = someParents.Select(x => new
{
    Id = x.Id,
    Name = x.Name,
    Children = somechildren.Where(y => y.ParentId == x.Id).ToList().ConvertAll(ChildPOCOAlter())
});

并收到以下错误:

Amazon Redshift

我不太清楚为什么我收到此错误,因为我没有做任何容易出现溢出的计算。任何帮助将不胜感激。

0 个答案:

没有答案