<?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>article Qlik Compose SQL compilation error: invalid identifier after upgrade to 2023.11 or 2024.12 in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Compose-SQL-compilation-error-invalid-identifier-after/ta-p/2555185</link>
    <description>&lt;P&gt;After upgrading Qlik Compose from 2022.5 to 2023.11 or 2024.12, attempting to generate and run the Data Mart job fails with the following error:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;SQL compilation error: invalid identifier "MASTER_CONSIGNMENTLEG_MASTER_CONSIGNMENT_GLOBI_consignment_INVOICE_GLOBI_relations_OID"&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;To resolve, change the &lt;STRONG&gt;"is_pk"&lt;/STRONG&gt; property from &lt;STRONG&gt;false&amp;nbsp;&lt;/STRONG&gt;to&amp;nbsp;&lt;STRONG&gt;true&amp;nbsp;&lt;/STRONG&gt;for the OID columns in the &lt;STRONG&gt;Aggregate Fact&lt;/STRONG&gt; definition.&lt;/P&gt;
&lt;P&gt;For new Data Mart jobs, the OID column defaults to true. This issue only affects older Aggregate Facts that include dimensions.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Detailed steps:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a deployment package of the project where the issue exists.&lt;/LI&gt;
&lt;LI&gt;Extract the ZIP file and open the JSON file.&lt;/LI&gt;
&lt;LI&gt;Locate the &lt;STRONG&gt;Aggregate Fact table definition&lt;/STRONG&gt; in the JSON file that has the issue. For example: &lt;FONT face="courier new,courier"&gt;FACT_GLOBI_AGG_FINANCIAL_PLAN_NON_FIN_REP&lt;/FONT&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aggregate Fact table definition.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/189953iAF23814000A5C9C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aggregate Fact table definition.png" alt="Aggregate Fact table definition.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Locate the &lt;STRONG&gt;_OID&lt;/STRONG&gt; columns within the Aggregate Fact definition. &lt;BR /&gt;For example, &lt;FONT face="courier new,courier"&gt;FACT_GLOBI_AGG_FINANCIAL_PLAN_NON_FIN_REP&lt;/FONT&gt; contains four OID columns:
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;S_sec_department_id_GLOBI_department_GLOBI_department_OID&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;S_invoice_relation_id_GLOBI_relations_GLOBI_relations_OID&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;S_sec_branch_id_GLOBI_branchGLOBI_branch_OID&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;S_sec_branch_id_GLOBI_relation_address_GLOBI_branch_OID&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;For each &lt;STRONG&gt;_OID&lt;/STRONG&gt; column, check the value of the &lt;STRONG&gt;"is_pk"&lt;/STRONG&gt; property.&lt;/LI&gt;
&lt;LI&gt;If &lt;STRONG&gt;"is_pk"&lt;/STRONG&gt; is set to &lt;STRONG&gt;false&lt;/STRONG&gt; for any &lt;STRONG&gt;_OID&lt;/STRONG&gt; column, update it to &lt;STRONG&gt;true&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Save the changes, then re-ZIP the JSON file along with the &lt;STRONG&gt;readme.txt&lt;/STRONG&gt; file.&lt;/LI&gt;
&lt;LI&gt;Deploy the updated ZIP file into the existing project.&lt;/LI&gt;
&lt;LI&gt;Regenerate the statements for the Data Mart.&lt;/LI&gt;
&lt;LI&gt;Run the Datamart ETL job.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Compose&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Tue, 25 Aug 2026 11:48:48 GMT</pubDate>
    <dc:creator>sureshkumar</dc:creator>
    <dc:date>2026-08-25T11:48:48Z</dc:date>
    <item>
      <title>Qlik Compose SQL compilation error: invalid identifier after upgrade to 2023.11 or 2024.12</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Compose-SQL-compilation-error-invalid-identifier-after/ta-p/2555185</link>
      <description>&lt;P&gt;After upgrading Qlik Compose from 2022.5 to 2023.11 or 2024.12, attempting to generate and run the Data Mart job fails with the following error:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT face="courier new,courier"&gt;SQL compilation error: invalid identifier "MASTER_CONSIGNMENTLEG_MASTER_CONSIGNMENT_GLOBI_consignment_INVOICE_GLOBI_relations_OID"&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;To resolve, change the &lt;STRONG&gt;"is_pk"&lt;/STRONG&gt; property from &lt;STRONG&gt;false&amp;nbsp;&lt;/STRONG&gt;to&amp;nbsp;&lt;STRONG&gt;true&amp;nbsp;&lt;/STRONG&gt;for the OID columns in the &lt;STRONG&gt;Aggregate Fact&lt;/STRONG&gt; definition.&lt;/P&gt;
&lt;P&gt;For new Data Mart jobs, the OID column defaults to true. This issue only affects older Aggregate Facts that include dimensions.&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Detailed steps:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a deployment package of the project where the issue exists.&lt;/LI&gt;
&lt;LI&gt;Extract the ZIP file and open the JSON file.&lt;/LI&gt;
&lt;LI&gt;Locate the &lt;STRONG&gt;Aggregate Fact table definition&lt;/STRONG&gt; in the JSON file that has the issue. For example: &lt;FONT face="courier new,courier"&gt;FACT_GLOBI_AGG_FINANCIAL_PLAN_NON_FIN_REP&lt;/FONT&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aggregate Fact table definition.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/189953iAF23814000A5C9C8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aggregate Fact table definition.png" alt="Aggregate Fact table definition.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;Locate the &lt;STRONG&gt;_OID&lt;/STRONG&gt; columns within the Aggregate Fact definition. &lt;BR /&gt;For example, &lt;FONT face="courier new,courier"&gt;FACT_GLOBI_AGG_FINANCIAL_PLAN_NON_FIN_REP&lt;/FONT&gt; contains four OID columns:
&lt;UL class="lia-list-style-type-circle"&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;S_sec_department_id_GLOBI_department_GLOBI_department_OID&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;S_invoice_relation_id_GLOBI_relations_GLOBI_relations_OID&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;S_sec_branch_id_GLOBI_branchGLOBI_branch_OID&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="courier new,courier"&gt;S_sec_branch_id_GLOBI_relation_address_GLOBI_branch_OID&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;For each &lt;STRONG&gt;_OID&lt;/STRONG&gt; column, check the value of the &lt;STRONG&gt;"is_pk"&lt;/STRONG&gt; property.&lt;/LI&gt;
&lt;LI&gt;If &lt;STRONG&gt;"is_pk"&lt;/STRONG&gt; is set to &lt;STRONG&gt;false&lt;/STRONG&gt; for any &lt;STRONG&gt;_OID&lt;/STRONG&gt; column, update it to &lt;STRONG&gt;true&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;LI&gt;Save the changes, then re-ZIP the JSON file along with the &lt;STRONG&gt;readme.txt&lt;/STRONG&gt; file.&lt;/LI&gt;
&lt;LI&gt;Deploy the updated ZIP file into the existing project.&lt;/LI&gt;
&lt;LI&gt;Regenerate the statements for the Data Mart.&lt;/LI&gt;
&lt;LI&gt;Run the Datamart ETL job.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environment&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Compose&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 25 Aug 2026 11:48:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Compose-SQL-compilation-error-invalid-identifier-after/ta-p/2555185</guid>
      <dc:creator>sureshkumar</dc:creator>
      <dc:date>2026-08-25T11:48:48Z</dc:date>
    </item>
  </channel>
</rss>

