Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/14828
  
    I tried it in DB2. It sounds like the original behavior is correct. Let me 
do more research
    
    ```
    db2 => SELECT 3.14, -3.14, 3.14e8, 3.14e-8, -3.14e8, -3.14e-8, 3.14e+8, 
3.14E8, 3.14E-8 from sysibm.sysdummy1
    
    1     2     3                        4                        5             
           6                        7                        8                  
      9                       
    ----- ----- ------------------------ ------------------------ 
------------------------ ------------------------ ------------------------ 
------------------------ ------------------------
     3.14 -3.14   +3.14000000000000E+008   +3.14000000000000E-008   
-3.14000000000000E+008   -3.14000000000000E-008   +3.14000000000000E+008   
+3.14000000000000E+008   +3.14000000000000E-008
    
      1 record(s) selected.
    
    db2 => describe SELECT 3.14, -3.14, 3.14e8, 3.14e-8, -3.14e8, -3.14e-8, 
3.14e+8, 3.14E8, 3.14E-8 from sysibm.sysdummy1
    
     Column Information
    
     Number of columns: 9
    
     SQL type              Type length  Column name                     Name 
length
     --------------------  -----------  ------------------------------  
-----------
     484   DECIMAL                3, 2  1                                       
  1
     484   DECIMAL                3, 2  2                                       
  1
     480   DOUBLE                    8  3                                       
  1
     480   DOUBLE                    8  4                                       
  1
     480   DOUBLE                    8  5                                       
  1
     480   DOUBLE                    8  6                                       
  1
     480   DOUBLE                    8  7                                       
  1
     480   DOUBLE                    8  8                                       
  1
     480   DOUBLE                    8  9                                       
  1
     ```



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