Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3104 Enable Phoenix test cases with Calcite-Phoenix
  3. PHOENIX-3691

Old value is overwriting with null when latest upsert has missing columns from the index in Phoenix-Calcite.

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Here is the example latest upsert with columns k,v2 over write previously upserted value of indexed column value v1.

      testMultipleUpdatesToSingleRow[MutableIndexIT_localIndex=false,transactional=true](org.apache.phoenix.end2end.index.MutableIndexIT)  Time elapsed: 4.848 sec  <<< FAILURE!
      java.lang.AssertionError: expected:<y> but was:<null>
      	at org.apache.phoenix.end2end.index.MutableIndexIT.testMultipleUpdatesToSingleRow(MutableIndexIT.java:476)
      

        Attachments

          Activity

            People

            • Assignee:
              rajeshbabu Rajeshbabu Chintaguntla
              Reporter:
              rajeshbabu Rajeshbabu Chintaguntla

              Dates

              • Created:
                Updated:

                Issue deployment