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

Fixed Between Query Data Mismatch issue for timestamp data type

    XMLWordPrintableJSON

Details

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

    Description

      Problem:
      Between query is giving wrong result.
      Root cause:
      For timestamp time when filter is given in yyyy-mm-dd format instead of yyyy-mm-dd HH:MM:SS format it will add cast, In CastExpressionOptimization it is using SimpleDateFormat object to parse the filter value which is failing as filter values is not same.
      Solution:
      Use SPARK:DateTimeUtils.stringToTime method as spark is handling for above scenario.

      Attachments

        Activity

          People

            kumarvishal09 Kumar Vishal
            kumarvishal09 Kumar Vishal
            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 - 2h 20m
                2h 20m