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

    https://github.com/apache/spark/pull/16891#discussion_r101097919
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/jdbc/JDBCWriteSuite.scala ---
    @@ -349,4 +349,17 @@ class JDBCWriteSuite extends SharedSQLContext with 
BeforeAndAfter {
         assert(e.contains("Invalid value `0` for parameter `numPartitions` in 
table writing " +
           "via JDBC. The minimum value is 1."))
       }
    +
    +  test("SPARK-19318 temporary view data source option keys should be 
case-insensitive") {
    +    withTempView("people_view") {
    +      sql(
    +        s"""
    +           |CREATE TEMPORARY VIEW people_view
    +           |USING org.apache.spark.sql.jdbc
    +           |OPTIONS (uRl '$url1', DbTaBlE 'TEST.PEOPLE1', User 'testUser', 
PassWord 'testPass')
    +      """.stripMargin.replaceAll("\n", " "))
    --- End diff --
    
    ```
          s"""
            |CREATE TEMPORARY VIEW people_view
            |USING org.apache.spark.sql.jdbc
            |OPTIONS (uRl '$url1', DbTaBlE 'TEST.PEOPLE1', User 'testUser', 
PassWord 'testPass')
           """.stripMargin.replaceAll("\n", " "))
    ```


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