Skip to content

Commit 80fb24b

Browse files
wangyumsrowen
authored andcommitted
[MINOR] Fix some indent issues.
## What changes were proposed in this pull request? Fix some indent issues. ## How was this patch tested? existing tests. Author: Yuming Wang <[email protected]> Closes #18133 from wangyum/IndentIssues.
1 parent d797ed0 commit 80fb24b

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/hash.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ abstract class InterpretedHashFunction {
524524
extended = """
525525
Examples:
526526
> SELECT _FUNC_('Spark', array(123), 2);
527-
-1321691492
527+
-1321691492
528528
""")
529529
case class Murmur3Hash(children: Seq[Expression], seed: Int) extends HashExpression[Int] {
530530
def this(arguments: Seq[Expression]) = this(arguments, 42)

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/nullExpressions.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ case class IfNull(left: Expression, right: Expression, child: Expression)
116116
@ExpressionDescription(
117117
usage = "_FUNC_(expr1, expr2) - Returns null if `expr1` equals to `expr2`, or `expr1` otherwise.",
118118
extended = """
119-
Examples:
120-
> SELECT _FUNC_(2, 2);
121-
NULL
119+
Examples:
120+
> SELECT _FUNC_(2, 2);
121+
NULL
122122
""")
123123
case class NullIf(left: Expression, right: Expression, child: Expression)
124124
extends RuntimeReplaceable {

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/regexpExpressions.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ abstract class StringRegexExpression extends BinaryExpression
9999
100100
See also:
101101
Use RLIKE to match with standard regular expressions.
102-
""")
102+
""")
103103
case class Like(left: Expression, right: Expression) extends StringRegexExpression {
104104

105105
override def escape(v: String): String = StringUtils.escapeLikeRegex(v)
@@ -175,7 +175,7 @@ case class Like(left: Expression, right: Expression) extends StringRegexExpressi
175175
176176
See also:
177177
Use LIKE to match with simple string pattern.
178-
""")
178+
""")
179179
case class RLike(left: Expression, right: Expression) extends StringRegexExpression {
180180

181181
override def escape(v: String): String = v

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -770,10 +770,10 @@ case class StringLPad(str: Expression, len: Expression, pad: Expression)
770770
""",
771771
extended = """
772772
Examples:
773-
> SELECT _FUNC_('hi', 5, '??');
774-
hi???
775-
> SELECT _FUNC_('hi', 1, '??');
776-
h
773+
> SELECT _FUNC_('hi', 5, '??');
774+
hi???
775+
> SELECT _FUNC_('hi', 1, '??');
776+
h
777777
""")
778778
case class StringRPad(str: Expression, len: Expression, pad: Expression)
779779
extends TernaryExpression with ImplicitCastInputTypes {

0 commit comments

Comments
 (0)