gatorsmile commented on issue #23398: [SPARK-26493][SQL] Allow multiple 
spark.sql.extensions
URL: https://github.com/apache/spark/pull/23398#issuecomment-450406587
 
 
   @RussellSpitzer See this example. 
   
   ```Scala
       val conf = new SparkConf()
       val seq = 
ConfigBuilder(testKey("seq")).stringConf.toSequence.createWithDefault(Seq())
       conf.set(seq.key, "1,,2, 3 , , 4")
       assert(conf.get(seq) === Seq("1", "2", "3", "4"))
       conf.set(seq, Seq("1", "2"))
       assert(conf.get(seq) === Seq("1", "2"))
   ```

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


With regards,
Apache Git Services

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

Reply via email to