<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>XSD Datatype and table datatype mismatch</title><link>https://community.appian.com/discussions/f/data/30931/xsd-datatype-and-table-datatype-mismatch</link><description>Reframing the whole question, can we change the datatype of column from one datatype to another datatype?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: XSD Datatype and table datatype mismatch</title><link>https://community.appian.com/thread/123210?ContentTypeID=1</link><pubDate>Sat, 16 Dec 2023 16:53:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:11b3bb5c-d015-4649-98eb-eb978e7d0821</guid><dc:creator>Karumuru Abhishek</dc:creator><description>&lt;p&gt;Hi &amp;nbsp; appian generally considers float, double, decimal into one type of data type which is decimal, generally it happens with text datatype as well, we have varchar long text, string ..etc. but in appian in will be considered as text.Appian allows users to create custom data types using the Record data type, enabling the definition of complex structures tailored to specific requirements.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XSD Datatype and table datatype mismatch</title><link>https://community.appian.com/thread/123206?ContentTypeID=1</link><pubDate>Sat, 16 Dec 2023 09:16:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1b6de6a6-a56c-448f-b0ed-61e5702b20f8</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;We tried with double on xsd, it was not working. Then we changed it to decimal on xsd. Then it was working. I am just trying to understand what difference does these things make.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XSD Datatype and table datatype mismatch</title><link>https://community.appian.com/thread/123204?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2023 18:32:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:81e00389-6881-41e8-94ac-01c49119a023</guid><dc:creator>Karumuru Abhishek</dc:creator><description>&lt;p&gt;Hi &amp;nbsp; Even it is double on database side, you can still update the XSD version with Number(Decimal) datatype from appian it would not be an issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XSD Datatype and table datatype mismatch</title><link>https://community.appian.com/thread/123203?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2023 17:07:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e3813f8c-1f37-4e9e-829f-fa38b780daae</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;I did the same. We actually changed it from decimal to double and we got some issue. So I am getting confused what might be the reason for the issue. Then we changed it back to decimal and it was working&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XSD Datatype and table datatype mismatch</title><link>https://community.appian.com/thread/123202?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2023 16:43:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:83c93f7a-9bc9-4617-a0d2-f59c2f298b16</guid><dc:creator>Karumuru Abhishek</dc:creator><description>&lt;p&gt;Hi &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Download the XSD file of the cdt.&amp;nbsp; Edit the column definition to INT or Decimal as per your requirement check from the image below. save the xsd file. open your cdt click on gear icon you will find an option create new version from XSD. click on that upload the latest version of your XSD proceed with create new version&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1702658401629v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XSD Datatype and table datatype mismatch</title><link>https://community.appian.com/thread/123201?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2023 16:24:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2c424efc-2dfd-4fa5-b126-1385c5c4bb58</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;The database schema currently does not match the CDT mappings (schema-validation: wrong column type encountered in column [amount] in table [`table_name`]; found [int (types#integer)], but expecting [decimal (types#double)]). After the attached database scripts execute, the data store will be successfully imported and saved. The data store will only be published if there are no schema mismatches.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: XSD Datatype and table datatype mismatch</title><link>https://community.appian.com/thread/123199?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2023 15:53:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c826f675-2241-451d-9915-89ae10b832d9</guid><dc:creator>Karumuru Abhishek</dc:creator><description>&lt;p&gt;Hi &amp;nbsp;&amp;nbsp;yes we can do it. could give more info about what is the datatype mismatch error?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>