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

Fix inconsistencies in table view APIs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0
    • 3.1
    • None
    • Docs Required, Release Notes Required

    Description

      1. getOrDefault accepts nullables after IGNITE-20524, but its semantics is to ensure null safety. It should not accept or nulls (getNullable methods exist to deal with nulls)
      2. getNullable family of methods throws exceptions from tuple-based views (ClientKeyValueBinaryView, KeyValueBinaryViewImpl), but it should work same as equivalent getters to ensure view equivalence. (fixed in IGNITE-23003)
      3. getAndReplaceAsync has nullable key and value, but actual implementations (client and embedded) disallow nulls.
      4. getNullableAndPut throws MarshallerException when value is null, unlike getAndPut which correctly throws NullPointerException

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ascherbakov Alexey Scherbakov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: