Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-7874

AD482-56: Ch02 S11: Avro schema with nullable string syntactically incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • AD482 - RHAMQS1.x NEXT
    • AD482 - RHAMQS1.8-en-5-20221213
    • AD482
    • None
    • 2
    • en-US (English)

      URL:
      Reporter RHNID:
      Section: -
      Language: en-US (English)|||||||||
      Workaround:

      Description: The nullable string in example avsc:

      {"name": "middleNames", "type": ["null", "string"], "default": "null"},
      

      {{}}is incorrect. It should read:

      {"name": "middleNames", "type": ["null", "string"], "default": null},
      

      (without quotes in the default value).

              rht-jramirez Jaime Ramirez
              gregab@p0f.net Grega Bremec
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: