Naresh P R created HIVE-27885:
---------------------------------

             Summary: Cast decimal from string with space without digits before 
dot returns NULL
                 Key: HIVE-27885
                 URL: https://issues.apache.org/jira/browse/HIVE-27885
             Project: Hive
          Issue Type: Bug
         Environment: eg.,

select cast(".0000 " as decimal(8,4))

-- Expected output

0.0000

-- Actual output

NULL

 

select cast("0.0000 " as decimal(8,4))

-- Actual output

0.0000
            Reporter: Naresh P R
            Assignee: Naresh P R






--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to