Skip to content

Commit

Permalink
[SPARK-32779][SQL][FOLLOW-UP] Delete Unused code
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?
Follow-up PR as per the review comments in [29649](https://github.com/apache/spark/pull/29649/files/8d45542e915bea1b321f42988b407091065a2539#r487140171)

### Why are the changes needed?
Delete the un used code

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Existing UT

Closes #29736 from sandeep-katta/deadlockfollowup.

Authored-by: sandeep.katta <sandeep.katta2007@gmail.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 2009f95)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
  • Loading branch information
sandeep-katta authored and dongjoon-hyun committed Sep 12, 2020
1 parent ec45d10 commit 2e04689
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1327,8 +1327,6 @@ private[client] class Shim_v3_0 extends Shim_v2_3 {
inheritTableSpecs: Boolean,
isSkewedStoreAsSubdir: Boolean,
isSrcLocal: Boolean): Unit = {
val session = SparkSession.getActiveSession
assert(session.nonEmpty)
val table = hive.getTable(tableName)
val loadFileType = if (replace) {
clazzLoadFileType.getEnumConstants.find(_.toString.equalsIgnoreCase("REPLACE_ALL"))
Expand Down

0 comments on commit 2e04689

Please sign in to comment.