<?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>topic Re: Regarding new_sub_data_type setting in task exported (json) file in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Regarding-new-sub-data-type-setting-in-task-exported-json-file/m-p/2460661#M11442</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Tajima-san,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142280"&gt;@iti-attunity-sup&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for reaching out to Qlik Community!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When the &lt;STRONG&gt;CLOB&lt;/STRONG&gt;, &lt;STRONG&gt;NCLOB&lt;/STRONG&gt;, &lt;STRONG&gt;STRING&lt;/STRONG&gt;, or &lt;STRONG&gt;WSTRING&lt;/STRONG&gt; data types are selected, &lt;A title="you can also set a&amp;nbsp;data subtype" href="https://help.qlik.com/en-US/replicate/November2023/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_globalTransRuleAddCol.htm#:~:text=Subtype%3A%20When,without%20a%20subtype." target="_blank" rel="noopener"&gt;you can also set a&amp;nbsp;data subtype&lt;/A&gt;. Select either &lt;STRONG&gt;JSON&lt;/STRONG&gt; or &lt;STRONG&gt;XML&lt;/STRONG&gt; from the drop-down list n the Subtype column.&lt;BR /&gt;Make sure that the new data in the column will be compatible with the selected subtype. The&lt;BR /&gt;default is &lt;STRONG&gt;Regular&lt;/STRONG&gt;, In JSON file it's&amp;nbsp;&lt;FONT face="courier new,courier"&gt;KAR_SUB_DATA_TYPE_UNSPECIFIED&lt;/FONT&gt; which means that the selected data type will be used without a subtype.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In below example, the added column subtype in JSON format is &lt;FONT face="courier new,courier"&gt;KAR_SUB_DATA_TYPE_UNSPECIFIED&lt;/FONT&gt; .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1718011089887.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167609i39A10D372247584E/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_0-1718011089887.png" alt="john_wang_0-1718011089887.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2024 09:18:34 GMT</pubDate>
    <dc:creator>john_wang</dc:creator>
    <dc:date>2024-06-10T09:18:34Z</dc:date>
    <item>
      <title>Regarding new_sub_data_type setting in task exported (json) file</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Regarding-new-sub-data-type-setting-in-task-exported-json-file/m-p/2460633#M11441</link>
      <description>&lt;P&gt;Hello Experts&lt;/P&gt;
&lt;P&gt;I have questions regarding the output of exported (json) file.&lt;/P&gt;
&lt;P&gt;The customer edited expression of transformations for some tables from web console.&lt;/P&gt;
&lt;P&gt;They exported the task and compared the exported (json) files before and after the change to see if there were any problems with the modification.&lt;/P&gt;
&lt;P&gt;Then they found that the following settings had been added in the "transform_columns" section automatically.&lt;/P&gt;
&lt;P&gt;"new_sub_data_type": "KAR_SUB_DATA_TYPE_UNSPECIFIED"&lt;/P&gt;
&lt;P&gt;e.g.&lt;/P&gt;
&lt;PRE&gt;before:&lt;BR /&gt;"transform_columns": [{&lt;BR /&gt;"column_name": "XXX",&lt;BR /&gt;"action": "KEEP",&lt;BR /&gt;"computation_expression": "insight_data_masking($XXX,\"text-mask\")"&lt;BR /&gt;},&lt;/PRE&gt;
&lt;PRE&gt;after:&lt;BR /&gt;"transform_columns": [{&lt;BR /&gt;"column_name": "XXX",&lt;BR /&gt;"action": "KEEP",&lt;BR /&gt;"computation_expression": "insight_data_masking($XXX,\"account-number-mask\")",&lt;BR /&gt;"new_sub_data_type": "KAR_SUB_DATA_TYPE_UNSPECIFIED" &amp;lt;--- &lt;BR /&gt;}, {&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;I have not been able to find any documentation describing this setting.&lt;/P&gt;
&lt;P&gt;Questions:&lt;BR /&gt;1. What does the setting mean and when would it be added?&lt;BR /&gt;2. Are there any difference with or without the settings?&lt;BR /&gt;--&amp;gt; if there are any problems in the current settings how do I correct the settings.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Kyoko Tajima&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 08:10:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Regarding-new-sub-data-type-setting-in-task-exported-json-file/m-p/2460633#M11441</guid>
      <dc:creator>iti-attunity-sup</dc:creator>
      <dc:date>2024-06-10T08:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding new_sub_data_type setting in task exported (json) file</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Regarding-new-sub-data-type-setting-in-task-exported-json-file/m-p/2460661#M11442</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Tajima-san,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142280"&gt;@iti-attunity-sup&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for reaching out to Qlik Community!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;When the &lt;STRONG&gt;CLOB&lt;/STRONG&gt;, &lt;STRONG&gt;NCLOB&lt;/STRONG&gt;, &lt;STRONG&gt;STRING&lt;/STRONG&gt;, or &lt;STRONG&gt;WSTRING&lt;/STRONG&gt; data types are selected, &lt;A title="you can also set a&amp;nbsp;data subtype" href="https://help.qlik.com/en-US/replicate/November2023/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_globalTransRuleAddCol.htm#:~:text=Subtype%3A%20When,without%20a%20subtype." target="_blank" rel="noopener"&gt;you can also set a&amp;nbsp;data subtype&lt;/A&gt;. Select either &lt;STRONG&gt;JSON&lt;/STRONG&gt; or &lt;STRONG&gt;XML&lt;/STRONG&gt; from the drop-down list n the Subtype column.&lt;BR /&gt;Make sure that the new data in the column will be compatible with the selected subtype. The&lt;BR /&gt;default is &lt;STRONG&gt;Regular&lt;/STRONG&gt;, In JSON file it's&amp;nbsp;&lt;FONT face="courier new,courier"&gt;KAR_SUB_DATA_TYPE_UNSPECIFIED&lt;/FONT&gt; which means that the selected data type will be used without a subtype.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;In below example, the added column subtype in JSON format is &lt;FONT face="courier new,courier"&gt;KAR_SUB_DATA_TYPE_UNSPECIFIED&lt;/FONT&gt; .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1718011089887.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/167609i39A10D372247584E/image-size/large?v=v2&amp;amp;px=999" role="button" title="john_wang_0-1718011089887.png" alt="john_wang_0-1718011089887.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 09:18:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Regarding-new-sub-data-type-setting-in-task-exported-json-file/m-p/2460661#M11442</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-06-10T09:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding new_sub_data_type setting in task exported (json) file</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Regarding-new-sub-data-type-setting-in-task-exported-json-file/m-p/2460790#M11446</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/142280"&gt;@iti-attunity-sup&lt;/a&gt;&amp;nbsp; - good question. Well documented. Thanks.&lt;/P&gt;
&lt;P&gt;A couple of remarks, in addition to&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/115309"&gt;@john_wang&lt;/a&gt;'s great answer.&lt;/P&gt;
&lt;P&gt;First of all, none to the JSON Replicate exports is documented. Much of it is intuitive, but some is confusing notably in the transformation area - for starters it's name: manipulations. Much, nearly all, of it is simple JSON structured where element order and whitespace is ignored. But there are exceptions notably&amp;nbsp; "databases": [{ "name": "..",&amp;nbsp; "db_settings": { "$type": "... ",&amp;nbsp; &amp;nbsp;That $type line must be the first under db_settings.&lt;/P&gt;
&lt;P&gt;Best you can do is what you did. Export some basis - make changes with the GUI - re-export changes and run a DIFFERENCE tool. (diff, windiff, Notepad++ compare,...)&lt;/P&gt;
&lt;P&gt;To automate further changes clone the manual change and blindly copy the structure and syntax first and foremost. This will for example likely protect you from defaults changing in some future version.&lt;/P&gt;
&lt;P&gt;Next you can (and should!) ask yourself (as you did) what surprise components might mean/do and who they perhaps can be exploited for further gain. That's all bonus work, time and interest permitting. Just stick to what Replicate tossed out to beging with and make sure that works after doing the additional&amp;nbsp; (scripted/automated) changes.&lt;/P&gt;
&lt;P&gt;bonus hint: sometimes it is tricky to find the json parameter names. What I do is to give it a funky value like "12345" then export, the search for that:&amp;nbsp;"max_transaction_size": 12345. Now you know where to make your changes.&lt;/P&gt;
&lt;P&gt;Hein.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 13:45:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Regarding-new-sub-data-type-setting-in-task-exported-json-file/m-p/2460790#M11446</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2024-06-10T13:45:20Z</dc:date>
    </item>
  </channel>
</rss>

