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

    https://github.com/apache/spark/pull/20784#discussion_r177522292
  
    --- Diff: 
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIDriver.scala
 ---
    @@ -121,6 +123,11 @@ private[hive] object SparkSQLCLIDriver extends Logging 
{
           }
         }
     
    +    Option(new HiveDelegationTokenProvider)
    --- End diff --
    
    What are you trying to achieve? `new` either returns something or throws an 
exception, so either you get `Some(foo)` here or an exception.


---

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

Reply via email to