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

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rajeshbabu Rajeshbabu Chintaguntla
            rajeshbabu Rajeshbabu Chintaguntla

            Dates

              Created:
              Updated:

              Slack

                Issue deployment