Github user gatorsmile commented on a diff in the pull request:
    --- Diff: 
    @@ -87,6 +88,13 @@ case class SetCommand(kv: Option[(String, 
Option[String])]) extends RunnableComm
         // Configures a single property.
         case Some((key, Some(value))) =>
           val runFunc = (sparkSession: SparkSession) => {
    +        if 
    +          && key.startsWith("hive.")) {
    +          logWarning(s"SET $key=$value doesn't work, " +
    +            s"because Spark doesn't support set hive config dynamically. " 
    +            s"Please set hive config through " +
    +            s"--conf spark.hadoop.$key=$value before SparkSession is 
    --- End diff --
    How about?
    > 'SET $key=$value' might not work, since Spark doesn't support changing 
the Hive config dynamically. Please passing the Hive-specific config by adding 
the prefix `spark.hadoop` (e.g.,`spark.hadoop.$key`) when starting a Spark 
application. For details, see the link:

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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to