Skip to content

Commit

Permalink
Update Unit Test & CodeStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
chenghao-intel committed Apr 3, 2014
1 parent 8a1d4d6 commit 6fc8100
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ package object dsl {
implicit def stringToLiteral(s: String) = Literal(s)
implicit def decimalToLiteral(d: BigDecimal) = Literal(d)
implicit def timestampToLiteral(t: Timestamp) = Literal(t)
implicit def bytesToLiteral(a: Array[Byte]) = Literal(a)
implicit def binaryToLiteral(a: Array[Byte]) = Literal(a)

implicit def symbolToUnresolvedAttribute(s: Symbol) = analysis.UnresolvedAttribute(s.name)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ package org.apache.spark.sql.catalyst.expressions
import org.apache.spark.sql.catalyst.trees
import org.apache.spark.sql.catalyst.errors.TreeNodeException
import org.apache.spark.sql.catalyst.trees.TreeNode
import org.apache.spark.sql.catalyst.types.{DataType, FractionalType, IntegralType, NumericType}
import org.apache.spark.sql.catalyst.types.{BooleanType, StringType, TimestampType, NativeType}
import org.apache.spark.sql.catalyst.types.{DataType, FractionalType, IntegralType, NumericType, NativeType}

abstract class Expression extends TreeNode[Expression] {
self: Product =>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
"index_auto_update",
"index_auto_self_join",
"index_stale.*",
"type_cast_1",
"index_compression",
"index_bitmap_compression",
"index_auto_multiple",
Expand Down Expand Up @@ -545,6 +544,7 @@ class HiveCompatibilitySuite extends HiveQueryFileTest {
"subq2",
"tablename_with_select",
"touch",
"type_cast_1",
"type_widening",
"udaf_collect_set",
"udaf_corr",
Expand Down

0 comments on commit 6fc8100

Please sign in to comment.