[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 <wgyumg@gmail.com> Closes #18133 from wangyum/IndentIssues.
This commit is contained in:
parent
d797ed0ef1
commit
80fb24b85d
|
@ -524,7 +524,7 @@ abstract class InterpretedHashFunction {
|
|||
extended = """
|
||||
Examples:
|
||||
> SELECT _FUNC_('Spark', array(123), 2);
|
||||
-1321691492
|
||||
-1321691492
|
||||
""")
|
||||
case class Murmur3Hash(children: Seq[Expression], seed: Int) extends HashExpression[Int] {
|
||||
def this(arguments: Seq[Expression]) = this(arguments, 42)
|
||||
|
|
|
@ -116,9 +116,9 @@ case class IfNull(left: Expression, right: Expression, child: Expression)
|
|||
@ExpressionDescription(
|
||||
usage = "_FUNC_(expr1, expr2) - Returns null if `expr1` equals to `expr2`, or `expr1` otherwise.",
|
||||
extended = """
|
||||
Examples:
|
||||
> SELECT _FUNC_(2, 2);
|
||||
NULL
|
||||
Examples:
|
||||
> SELECT _FUNC_(2, 2);
|
||||
NULL
|
||||
""")
|
||||
case class NullIf(left: Expression, right: Expression, child: Expression)
|
||||
extends RuntimeReplaceable {
|
||||
|
|
|
@ -99,7 +99,7 @@ abstract class StringRegexExpression extends BinaryExpression
|
|||
|
||||
See also:
|
||||
Use RLIKE to match with standard regular expressions.
|
||||
""")
|
||||
""")
|
||||
case class Like(left: Expression, right: Expression) extends StringRegexExpression {
|
||||
|
||||
override def escape(v: String): String = StringUtils.escapeLikeRegex(v)
|
||||
|
@ -175,7 +175,7 @@ case class Like(left: Expression, right: Expression) extends StringRegexExpressi
|
|||
|
||||
See also:
|
||||
Use LIKE to match with simple string pattern.
|
||||
""")
|
||||
""")
|
||||
case class RLike(left: Expression, right: Expression) extends StringRegexExpression {
|
||||
|
||||
override def escape(v: String): String = v
|
||||
|
|
|
@ -770,10 +770,10 @@ case class StringLPad(str: Expression, len: Expression, pad: Expression)
|
|||
""",
|
||||
extended = """
|
||||
Examples:
|
||||
> SELECT _FUNC_('hi', 5, '??');
|
||||
hi???
|
||||
> SELECT _FUNC_('hi', 1, '??');
|
||||
h
|
||||
> SELECT _FUNC_('hi', 5, '??');
|
||||
hi???
|
||||
> SELECT _FUNC_('hi', 1, '??');
|
||||
h
|
||||
""")
|
||||
case class StringRPad(str: Expression, len: Expression, pad: Expression)
|
||||
extends TernaryExpression with ImplicitCastInputTypes {
|
||||
|
|
Loading…
Reference in a new issue