Skip to content

Commit

Permalink
[SPARK-26555][SQL] make ScalaReflection subtype checking thread safe
Browse files Browse the repository at this point in the history
Make ScalaReflection subtype checking thread safe by adding a lock. There is a thread safety bug in the <:< operator in all versions of scala (scala/bug#10766).

Existing tests and a new one for the new subtype checking function.

Closes apache#24085 from mwlon/SPARK-26555.

Authored-by: mwlon <mloncaric@hmc.edu>
Signed-off-by: Wenchen Fan <wenchen@databricks.com>
  • Loading branch information
mwlon authored and JoshRosen committed Jun 19, 2019
1 parent e4f5d84 commit 9cc4198
Show file tree
Hide file tree
Showing 2 changed files with 124 additions and 98 deletions.
Loading

0 comments on commit 9cc4198

Please sign in to comment.