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
Fix the comment
  • Loading branch information
dilipbiswal committed Oct 8, 2015
commit 6bfdf2fb0a73f1eddc37b68dfafb04ca15a2a0d9
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,10 @@ object HiveTypeCoercion {
}

/**
* Convert all expressions in in() list to the left operator type
* except when the left operator type is NullType.
* Convert the value and in list expressions to the common operator type
* by looking at all the argument types and finding the closest one that
* all the arguments can be cast to. When no common operator type is found
* an Analysis Exception is raised.
*/
object InConversion extends Rule[LogicalPlan] {
def apply(plan: LogicalPlan): LogicalPlan = plan resolveExpressions {
Expand Down