You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[R] Make head/tail lazy on datasets and queries #29508
Weston Pace / @westonpace:
I'd kind of expect it to work too given our current threading model but, in general, and specifically with some of the threading models being proposed, you would need resequencing/serialization and not just an implicit order.
Otherwise it is perfectly reasonable for the following ordering:
Activity
asfimport commentedon Sep 24, 2021
Jonathan Keane / @jonkeane:
The current behavior is a bit surprising even when it "should" be defined:
I know there's some work to determine if
head()could/should be defined int he absence of an explicit order, but after anarrange()it should work.asfimport commentedon Sep 24, 2021
Weston Pace / @westonpace:
I'd kind of expect it to work too given our current threading model but, in general, and specifically with some of the threading models being proposed, you would need resequencing/serialization and not just an implicit order.
Otherwise it is perfectly reasonable for the following ordering:
Sort node emits batch 1
Sort node emits batch 2
Project node emits batch 2
Project node emits batch 1
asfimport commentedon Sep 24, 2021
Weston Pace / @westonpace:
Actually...I suppose sort / order by happens after projection, so I retract my previous statement.
asfimport commentedon Oct 12, 2021
Neal Richardson / @nealrichardson:
Issue resolved by pull request 11373
#11373