-
Notifications
You must be signed in to change notification settings - Fork 53
Results from by processing limited to 100 rows #43
Comments
|
Thanks. So |
I missed the |
It seems to work as intended. I have tried the following commands to replicate the issue.
I also tried
@ashokrags Do you have a |
@orhankislal I have given a by example above. How many rows does the function return when you apply it over the entire data frame? For example if you made fac 1000 levels and then did a by processing so you get summary for each level does it return 1000 rows?? The inbuilt mean function does that |
@ashokrags I saw the example you gave but it is not clear what the |
seems to be working OK from our perspective so @ashokrags please let us know if you are still having issues |
@orhankislal @fmcquillan99 .... the gtex_df is a table with 555Million rows and several columns I think 6 or 7. All I want is an aggregate summary statistic by groups of a particular column ( say that has 300 different categories). So like i mentioned before if use the inbuilt mean function it works, but when i use a custom function it only returns 100 rows. If it appears not to be an issue from your side, then I think i could some time-out issue in what gets returned within the implementation in our side. Thanks for checking into this. I will reopen this issue if i can get any more information that it is an issue from the R side. Thanks a lot again for taking the time to look into this. |
hi,
when I run a by processing in Hawq using a custom function, i only get results for 100 rows. Any ideas as to why that occurs?
if i do something like this
samples_tissue_mu_logcpm
<- by(gtex_df[, "logCpm"], c( gtex_df$gene, gtex_df$Tissue_type),mean )`Then i get the correct number of rows 112636
however if i submit my own function or a non-standard function as below I only get 100 results retrieved
samples_tissue_logcpm_q_lo <- by(gtex_df[, "logCpm"], c( gtex_df$gene, gtex_df$Tissue_type), FUN=function(x) { y <- lookat(x, nrows=NULL) return(quantile(y, prob=0.25 )) })
The text was updated successfully, but these errors were encountered: