Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
system function upper and lower supported
  • Loading branch information
egraldlo committed Jun 1, 2014
commit 1f0bbb5d672856764901cc9676ea7795d08e4ddb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ trait CaseConversionExpression {
def convert(v: String): String

def nullable: Boolean = true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can it be null if the child is not nullable?

def dataType: DataType = BooleanType
def dataType: DataType = StringType

override def eval(input: Row): Any = {
val beConverted = child.eval(input)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

converted seems better than beConverted here.

Expand Down