Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16397#discussion_r93961134
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCommandSuite.scala
 ---
    @@ -257,31 +257,37 @@ class HiveCommandSuite extends QueryTest with 
SQLTestUtils with TestHiveSingleto
             """.stripMargin)
     
           // LOAD DATA INTO partitioned table must specify partition
    -      withInputFile { path =>
    +      withInputFile { f =>
             intercept[AnalysisException] {
    +          val path = f.toURI.toString
    --- End diff --
    
    Why not just have this once in the block?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to