[jira] [Commented] (SPARK-22441) JDBC REAL type is mapped to Double instead of Float

2017-11-05 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16239443#comment-16239443 ] Sean Owen commented on SPARK-22441: --- I think my only strong feeling here is to keep the forward/reverse

[jira] [Commented] (SPARK-22441) JDBC REAL type is mapped to Double instead of Float

2017-11-04 Thread Tor Myklebust (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16239275#comment-16239275 ] Tor Myklebust commented on SPARK-22441: --- > In MySQL, even desc a table with a column defined as

[jira] [Commented] (SPARK-22441) JDBC REAL type is mapped to Double instead of Float

2017-11-04 Thread Hongbo (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16239143#comment-16239143 ] Hongbo commented on SPARK-22441: I also noticed that JDBC FLOAT maps to FloatType. I think it should map

[jira] [Commented] (SPARK-22441) JDBC REAL type is mapped to Double instead of Float

2017-11-04 Thread Tor Myklebust (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16239063#comment-16239063 ] Tor Myklebust commented on SPARK-22441: --- I don't know. I'm not clear on what that code is used

[jira] [Commented] (SPARK-22441) JDBC REAL type is mapped to Double instead of Float

2017-11-04 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16238844#comment-16238844 ] Sean Owen commented on SPARK-22441: --- That's great info. The current mapping is, I think, more natural,

[jira] [Commented] (SPARK-22441) JDBC REAL type is mapped to Double instead of Float

2017-11-03 Thread Tor Myklebust (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16238628#comment-16238628 ] Tor Myklebust commented on SPARK-22441: --- I wrote this code a while ago, but I don't think REAL ->

[jira] [Commented] (SPARK-22441) JDBC REAL type is mapped to Double instead of Float

2017-11-03 Thread Sean Owen (JIRA)
[ https://issues.apache.org/jira/browse/SPARK-22441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16238313#comment-16238313 ] Sean Owen commented on SPARK-22441: --- You have a point. In the same file, the reverse mapping maps float