Skip to content

Commit 84b87b7

Browse files
committed
fix.
1 parent c4ad4c5 commit 84b87b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicLogicalOperators.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ case class Range(
504504
extends LeafNode with MultiInstanceRelation {
505505

506506
require(step != 0, s"step ($step) cannot be 0")
507-
require(start != end, s"start ($step) cannot be equal to end ($end)")
507+
require(start != end, s"start ($start) cannot be equal to end ($end)")
508508
require(start < end ^ step < 0, s"the sign of step ($step) is invalid for range ($start, $end)")
509509

510510
val numElements: BigInt = {

0 commit comments

Comments
 (0)