Github user wangyum commented on the issue:

    https://github.com/apache/spark/pull/18266
  
    How about below? similar to [Hive 
JDBCStorageHandler](https://github.com/apache/hive/blob/rel/release-2.3.0/ql/src/test/queries/clientpositive/jdbc_handler.q#L1-L17):
    ```sql
    CREATE TEMPORARY VIEW tableWithCustomSchema (
      ID decimal(38, 0),
      N1 int,
      N2 boolean
    )
    USING org.apache.spark.sql.jdbc
    OPTIONS (url '$jdbcUrl', dbTable 'tableWithCustomSchema')
    ```


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