Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-445

testCastWithNestedFunctions causes unit test failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Won't Fix
    • None
    • 0.8.0
    • Expression
    • None

    Description

      The direct comparison timestamp value and string in testSimpleEval can be failed in some JVMs. This patch fixes the unit test failure.

      Results :
      
      Failed tests:   testCastWithNestedFunction(org.apache.tajo.engine.eval.TestSQLExpression): select to_timestamp(CAST(split_part('1386577650.123', '.', 1) as INT8)); expected:<1970-01-17 [10]:09:37> but was:<1970-01-17 [01]:09:37>
      

      Attachments

        1. TAJO-445.patch
          0.9 kB
          Hyunsik Choi

        Activity

          People

            hyunsik Hyunsik Choi
            hyunsik Hyunsik Choi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: