Github user viirya commented on a diff in the pull request: https://github.com/apache/spark/pull/21854#discussion_r206711618 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -2124,6 +2124,9 @@ class Analyzer( override def apply(plan: LogicalPlan): LogicalPlan = plan.transformUp { case p if p.resolved => p case p => p transformExpressionsUp { + // Produces a placeholder random seed for streaming query, the real random seed + // is given at the beginning of Optimizer. + case Uuid(None) if p.isStreaming => Uuid(Some(-1)) --- End diff -- `Uuid` need to have a random seed initialized to make it resolved. This gives it a fake seed. Since we assign random seeds at optimizer, we can get rid of it. The intent here is to have a placeholder seed shown in analyzed plan. Not a big deal, so I'm going to remove it.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org