Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert "fix test failures"
This reverts commit 4bd7c2d.
  • Loading branch information
mgaido91 committed Nov 7, 2018
commit 0a02dd99ac30d49bb95f737112fc803006ec0efb
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,11 @@ trait CheckAnalysis extends PredicateHelper {
case o if o.expressions.exists(!_.deterministic) &&
!o.isInstanceOf[Project] && !o.isInstanceOf[Filter] &&
!o.isInstanceOf[Aggregate] && !o.isInstanceOf[Window] &&
!o.isInstanceOf[DeserializeToObject] && !o.isInstanceOf[SerializeFromObject] =>
!o.isInstanceOf[DeserializeToObject] =>
// The rule above is used to check Aggregate operator.
failAnalysis(
s"""nondeterministic expressions are only allowed in Project, Filter,
| Aggregate, Window, SerializeFromObject or DeserializeToObject, found:
s"""nondeterministic expressions are only allowed in
|Project, Filter, Aggregate, Window or DeserializeToObject, found:
| ${o.expressions.map(_.sql).mkString(",")}
|in operator ${operator.simpleString}
""".stripMargin)
Expand Down