Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-1186

NullableTimeStampAccessor asserts and returns wrong value when the value is null

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Repro:
      Enable asserts: export DRILL_SHELL_JAVA_OPTS="-ea"
      start sqlline
      select cast(null as timestamp) from v1 limit 1;

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vkorukanti Venki Korukanti
                Reporter:
                vkorukanti Venki Korukanti
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: