Skip to content
Closed
Show file tree
Hide file tree
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
Merge remote-tracking branch 'upstream/master' into SPARK-20392-reopen
  • Loading branch information
viirya committed Dec 6, 2017
commit 4775a0249b34be16e7bc15dbd4b291fddfe92656
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ object DecimalPrecision extends TypeCoercionRule {
PromotePrecision(Cast(e, dataType))
}

def apply(plan: LogicalPlan): LogicalPlan = plan transformUp {
override protected def coerceTypes(plan: LogicalPlan): LogicalPlan = plan transformUp {
// fix decimal precision for expressions
case q => q.transformExpressionsUp(
decimalAndDecimal.orElse(integralAndDecimalLiteral).orElse(nondecimalAndDecimal))
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.