[ https://issues.apache.org/jira/browse/SPARK-8599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14605777#comment-14605777 ]
Burak Yavuz commented on SPARK-8599: ------------------------------------ It would be great if it works for this case as well. I think [~mengxr] was hitting the bug during the filter phase for sampleBy. > Use a Random operator to handle Random distribution generating expressions > -------------------------------------------------------------------------- > > Key: SPARK-8599 > URL: https://issues.apache.org/jira/browse/SPARK-8599 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 1.4.0 > Reporter: Yin Huai > Priority: Critical > > Right now, we are using expressions for Random distribution generating > expressions. But, we have to track them in lots of places in the optimizer to > handle them carefully. Otherwise, these expressions will be treated as > stateless expressions and have unexpected behaviors (e.g. SPARK-8023). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org