[ 
https://issues.apache.org/jira/browse/ARROW-14254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17435068#comment-17435068
 ] 

Weston Pace commented on ARROW-14254:
-------------------------------------

[~npr] Gentle ping.  I'm still not sure if this JIRA is asking for:

 * Generate a random sample of all rows in the dataset (e.g. if the dataset has 
1 million rows and I sample 5 then those 5 could come from anywhere in the 1 
million and the output will always have 5 rows)
 * Generate a random sample of each batch that flows through the excecution 
plan (e.g. if the dataset has 1 million rows and I scan in batches of 100k and 
take 5 rows from each batch I get 50 rows.  If I scan in a single 1 million row 
batch I get 5 rows).

> [C++] Return a random sample of rows from a query
> -------------------------------------------------
>
>                 Key: ARROW-14254
>                 URL: https://issues.apache.org/jira/browse/ARROW-14254
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Nicola Crane
>            Priority: Major
>              Labels: kernel, query-engine
>             Fix For: 7.0.0
>
>
> Please can we have a kernel that returns a random sample of rows? We've had a 
> request to be able to do this in R: 
> https://github.com/apache/arrow-cookbook/issues/83



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to