Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-3098

Negative value exponents giving wrong results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.1
    • None
    • None

    Description

      Problem: When the value of exponent is a negative number then the data is incorrect due to loss of precision of Floating point values and wrong calculation of the count of decimal points.

       

      Steps to reproduce: 

      -> "create table float_c(f float) using carbon"

      -> "insert into float_c select '1.4E-38' "

      Attachments

        Issue Links

          Activity

            People

              manishnalla1994 MANISH NALLA
              manishnalla1994 MANISH NALLA
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m