You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/12/10 11:55:03 UTC

[GitHub] [incubator-hudi] leesf commented on a change in pull request #1093: [MINOR] replace scala map add operator

leesf commented on a change in pull request #1093: [MINOR] replace scala map add operator
URL: https://github.com/apache/incubator-hudi/pull/1093#discussion_r355995018
 
 

 ##########
 File path: hudi-spark/src/main/scala/org/apache/hudi/DefaultSource.scala
 ##########
 @@ -50,7 +50,7 @@ class DefaultSource extends RelationProvider
                               optParams: Map[String, String],
                               schema: StructType): BaseRelation = {
     // Add default options for unspecified read options keys.
-    val parameters = Map(VIEW_TYPE_OPT_KEY -> DEFAULT_VIEW_TYPE_OPT_VAL) ++: optParams
+    val parameters = Map(VIEW_TYPE_OPT_KEY -> DEFAULT_VIEW_TYPE_OPT_VAL) ++ optParams
 
 Review comment:
   `++:` works fine in my IDEA, did you install scala lib?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services