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
Add comment
  • Loading branch information
maropu committed Mar 20, 2021
commit 5152fffc7344f98d1c9c83d35f219e2855bc4cff
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ class ExpressionEncoderSuite extends CodegenInterpretedPlanTest with AnalysisTes

encodeDecodeTest(Array(Option(InnerClass(1))), "array of optional inner class")

// NOTE: branch-2.4 does not have the interpreted implementation of SafeProjection, so
// it does not fall back into the interpreted mode if the compilation fails.
// Therefore, the test in this PR just checks that the compilation error happens
// instead of checking that the interpreted mode works well.
private def checkCompilationError[T : ExpressionEncoder](
input: T,
testName: String): Unit = {
Expand Down