Skip to content

Commit

Permalink
Fixing Scala style tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jaceklaskowski committed May 29, 2018
1 parent 25fe97f commit 487a467
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions sql/core/src/main/scala/org/apache/spark/sql/functions.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1320,11 +1320,11 @@ object functions {
//////////////////////////////////////////////////////////////////////////////////////////////

/**
* Computes the absolute value of a numeric value.
*
* @group math_funcs
* @since 1.3.0
*/
* Computes the absolute value of a numeric value.
*
* @group math_funcs
* @since 1.3.0
*/
def abs(e: Column): Column = withExpr { Abs(e.expr) }

/**
Expand Down Expand Up @@ -1507,11 +1507,11 @@ object functions {
def bin(columnName: String): Column = bin(Column(columnName))

/**
* Computes bitwise NOT (~) of a number.
*
* @group math_funcs
* @since 1.4.0
*/
* Computes bitwise NOT (~) of a number.
*
* @group math_funcs
* @since 1.4.0
*/
def bitwiseNOT(e: Column): Column = withExpr { BitwiseNot(e.expr) }

/**
Expand Down Expand Up @@ -1679,23 +1679,23 @@ object functions {
def hex(column: Column): Column = withExpr { Hex(column.expr) }

/**
* Return true iff the column is NaN.
*
* Both inputs should be floating point columns (DoubleType or FloatType).
*
* @group math_funcs
* @since 1.6.0
*/
* Return true iff the column is NaN.
*
* Both inputs should be floating point columns (DoubleType or FloatType).
*
* @group math_funcs
* @since 1.6.0
*/
def isnan(e: Column): Column = withExpr { IsNaN(e.expr) }

/**
* Returns col1 if it is not NaN, or col2 if col1 is NaN.
*
* Both inputs should be floating point columns (DoubleType or FloatType).
*
* @group math_funcs
* @since 1.5.0
*/
* Returns col1 if it is not NaN, or col2 if col1 is NaN.
*
* Both inputs should be floating point columns (DoubleType or FloatType).
*
* @group math_funcs
* @since 1.5.0
*/
def nanvl(col1: Column, col2: Column): Column = withExpr { NaNvl(col1.expr, col2.expr) }

/**
Expand Down

0 comments on commit 487a467

Please sign in to comment.