Uploaded image for project: 'Kite SDK'
  1. Kite SDK
  2. KITE-517

Creating constraints from a view URI can result in incompatible string types

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.15.0
    • Fix Version/s: 0.15.0
    • Component/s: None
    • Labels:
      None

      Description

      After CDK-496, it's possible to load a view using a URI that has constraints and to end up having incompatible types for the constraint values and the field values. Where this shows up today is that it will create a String for the constraint, but if the user loaded the view with type GenericData.Record.class, it will use Utf8 for the fields when reading from a data file.

      We should round-trip the constraint value through the serializer based on the data model associated with the type that was passed in to keep the types consistent.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joey Joey Echeverria
                Reporter:
                joey Joey Echeverria
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: