Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-361

LP Bug: 1328248 - query: insert ... select returned error 8421

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.8 (pre-incubation)
    • sql-exe
    • None

    Description

      SYMPTOM:

      SQL>execute xx;

          • ERROR[8421] NULL cannot be assigned to a NOT NULL column. [2014-05-13 21:44:08]

      DESCRIPTION:

      Query: insert ... select query returned error 8421.

      The workaround is to set: cqd PCODE_OPT_FLAGS '28'; [i.e. disable Native Expressions]

      NOTE: Problem found on SQ platform, but could just as well occur on Trafodion.

      Fix will be in PCodeOperand::storeNullJitValueAndBranch() in ExpPCodeOptsNativeExpr.cpp
      Assigned to LaunchPad User James Capps

      Attachments

        Activity

          People

            apachetrafodion Apache Trafodion
            apachetrafodion Apache Trafodion
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: