Skip to content

Commit

Permalink
tiny refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichao-li committed Jun 26, 2015
1 parent 35ecfe5 commit 7cab020
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,7 @@ case class Hex(child: Expression)
}

/**
* Convert every character in s to two hex digits.
*
* Converts every character in s to two hex digits.
*/
private def hex(str: UTF8String): UTF8String = {
if (str == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@

package org.apache.spark.sql.catalyst.expressions

import org.apache.spark.sql.catalyst.dsl.expressions._
import org.apache.spark.SparkFunSuite
import org.apache.spark.sql.catalyst.dsl.expressions._
import org.apache.spark.sql.types.{IntegerType, DataType, DoubleType, LongType}
import org.apache.spark.sql.types.{DataType, DoubleType, LongType}

class MathFunctionsSuite extends SparkFunSuite with ExpressionEvalHelper {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ object functions {
def floor(columnName: String): Column = floor(Column(columnName))

/**
* Computes hex value of the given input
* Computes hex value of the given column
*
* @group math_funcs
* @since 1.5.0
Expand Down

0 comments on commit 7cab020

Please sign in to comment.