Skip to content
Closed
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,11 @@ object CodeGenerator extends Logging {
}
}.flatten

codeSizes.max
if (codeSizes.nonEmpty) {
codeSizes.max
} else {
0
Copy link
Member

Choose a reason for hiding this comment

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

Do we have a test case? cc @rednaxelafx

Copy link
Member Author

Choose a reason for hiding this comment

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

Currently, no. I tried to add tests though, I couldn't find an input for this issue... Any idea, Kris?

Copy link

Choose a reason for hiding this comment

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

my 2 cents - We only have this issue on our most heavy prod jobs with a lot of columns and a lot of partitions.. I wonder if Spark struggles to collect some stats in this case, and then this becomes zero. We don't have a reproducer as it again only happens on our heaviest prod jobs.. but it does happen consistently when we're over a certain limit of number of columns or number of partitions/tasks, or both. Thanks.

}
}

/**
Expand Down