I'm using DO 4.3 RC2, and I've noticed a strange behavior with a group by.

I'm using this query :

var groupByQuery = Query.All<MyEntity>()
                              .Join(Query.All<Item>(), e => e, i => i.Owner, (e, i) => new { MyEntity= e, Item= i })
                              .GroupBy(c => c.MyEntity.DocumentId);

The group by is working as expected, but the results are not grouped by DocumentId but by another property of Entity!

Unfortunately I've been unable to reproduce it in a sample project : is there anything I can do to help fix this bug? (Log to activate, nightly build to test, ...)

Regards, julien

Updated at 09.06.2010 9:25:42

I've sent an email to you with captured SQL at your @x-tensive.com email address.

Updated at 10.06.2010 7:57:23

Ok, thanks.

Do not hesitate to contact me :)

Updated at 22.07.2010 9:36:51

I've had finally had the time to create a small sample.

It's not so small, so I sent it by mail ;)

Keep up the good work!

Updated at 17.08.2010 8:41:52

Thank you:)

This thread was imported from our support forum. The original discussion may contain more detailed answer.

asked Jun 08 '10 at 08:18

olorin's gravatar image


Not sure what can help here... If you suspect the issue is repeating, just send us affected part of the model. Caught buggy SQL query would help best of all.

(Jun 08 '10 at 08:18) Alex Yakunin Alex%20Yakunin's gravatar image

Thank you, I've got it. Will create an issue shortly (tracker @ Google Code is currently in read-only mode). If something else will be necessary, guys from our team will contact you.

(Jun 08 '10 at 08:18) Alex Yakunin Alex%20Yakunin's gravatar image

Great - non-working sample must simplify this a lot! Just forwarded it to Alexis Kochetov - he is already studying it.

(Jun 08 '10 at 08:18) Alex Yakunin Alex%20Yakunin's gravatar image
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview


Once you sign in you will be able to subscribe for any updates here



Asked: Jun 08 '10 at 08:18

Seen: 1,904 times

Last updated: Jun 08 '10 at 08:18

powered by OSQA