<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Change data type of a field in schema registry in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Change-data-type-of-a-field-in-schema-registry/m-p/210435#M172377</link>
    <description>&lt;P&gt;Is it possible to change the type of a field in the schema registry?  I created a schema in the registry, and it defaulted to backward compatibility.  Right after I created it, I realized I mis-labeled one of the field types as a "long" when it was supposed to be "string." So&lt;/P&gt;&lt;PRE&gt;{"name": "Emp_ID", "type": "long" }&lt;/PRE&gt;&lt;P&gt;should instead be &lt;/P&gt;&lt;PRE&gt;{ "name": "Emp_ID", "type": "string"}&lt;/PRE&gt;&lt;P&gt;Since the schema is set to backward compatibility, if I try to create a new version with the updated type, I get an error "reader type:STRING not compatible with writer type:LONG" so I'm unable to update the schema.  Since there's not really a great way to delete schemas from the registry (aside from logging directly into the backing SQL database), I was hoping to be able to update the schema so it is still usable, rather than have a bunch of junk schemas that I can't use anymore.&lt;/P&gt;&lt;P&gt;A colleague of mine said that with the confluent schema registry, they will disable compatibility checks, publish the new schema and then re-enable the compatibility as necessary.  Is there a way to do something similar with Hortonworks Schema Registry?  I haven't seen any setting that would allow me to change the compatibility mode.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sat, 07 Apr 2018 02:39:26 GMT</pubDate>
    <dc:creator>travis_munn</dc:creator>
    <dc:date>2018-04-07T02:39:26Z</dc:date>
  </channel>
</rss>

