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

    https://github.com/apache/spark/pull/16013#discussion_r89686440
  
    --- Diff: 
sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala
 ---
    @@ -57,9 +57,17 @@ import org.apache.spark.util.SerializableJobConf
      * @param partition a map from the partition key to the partition value 
(optional). If the partition
      *                  value is optional, dynamic partition insert will be 
performed.
      *                  As an example, `INSERT INTO tbl PARTITION (a=1, b=2) 
AS ...` would have
    - *                  Map('a' -> Some('1'), 'b' -> Some('2')),
    + *
    + *                  {{{
    + *                  Map('a' -> Some('1'), 'b' -> Some('2'))
    + *                  }}},
    + *
      *                  and `INSERT INTO tbl PARTITION (a=1, b) AS ...`
    - *                  would have Map('a' -> Some('1'), 'b' -> None).
    + *                  would have
    + *
    + *                  {{{
    + *                  Map('a' -> Some('1'), 'b' -> None)
    + *                  }}}.
    --- End diff --
    
    Just remove the comma starting the line at ", and ..."


---
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