Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-21844

Java thin 3.0: Key-only operations allow unmapped fields in tuples

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.0.0-beta1
    • 3.0.0-beta2
    • thin client

    Description

      IGNITE-19835 aimed to disallow any unmapped fields, but key-only operations (such as get, delete, also in streamer) allow extra columns on the client side.

      Add this to ItAbstractDataStreamerTest:

          @Test
          public void test() {
              RecordView<Tuple> view = defaultTable().recordView();
              view.upsert(null, tuple(2, "_"));
              view.get(null, tuple(2, "1234"));
          }
      

      The test fails in embedded mode and works in client mode.

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: