Github user HyukjinKwon commented on the pull request:

    https://github.com/apache/spark/pull/12494#issuecomment-213183696
  
    @mathieulongtin 
    I think it might be more sensible that SQL in OPTIONS clause supports  
`null` and some other types such as long, double and boolean. It 
[looks](http://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt) (if I got 
this correctly) there is a mention about options in `23.3  Extensions and 
options` and I think it is okay to provide other types as arguments just like 
[Microsoft SQL](https://msdn.microsoft.com/en-us/library/ms190322.aspx) 
(although I found Spark's SQL more like MySQL).
    
    Currently, Scala API supports to take options with the types, `Long`, 
`Double` and `Boolean` and Python API also supports other types. I think in 
this way we can support data sources in a consistent way.
    



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