<?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 ERROR: relation already exists. Appears in ArcGIS Server log when using predefined filter in ArcGIS Insights Questions</title>
    <link>https://community.esri.com/t5/arcgis-insights-questions/error-relation-already-exists-appears-in-arcgis/m-p/1074560#M809</link>
    <description>&lt;P&gt;We have a predefined filter in our Insights project based on a TEXT field called &lt;EM&gt;thefinancialyear&lt;/EM&gt;.&amp;nbsp; The values look like eg.&amp;nbsp; 2020-2021&lt;/P&gt;&lt;P&gt;When we use the predefined filter, it does work but we are noticing that the ArcGIS Server log displays an error that says&lt;/P&gt;&lt;P&gt;(&lt;BR /&gt;Query [-1] failed "ERROR: relation "insights_a319a7fdd67024d0708bcf29a9735655" already exists": CREATE INDEX "insights_a319a7fdd67024d0708bcf29a9735655" ON "water_consumption_data_dashboard_water_meter_reading" ((lower(trim("thefinancialyear"::TEXT))))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;I am unsure what this error is telling me.&amp;nbsp;&amp;nbsp; Does Insights try to index the field on the fly ?.&lt;/P&gt;&lt;P&gt;We have not indexed it in our SQL table.&amp;nbsp; Should we try doing this ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The field type in SQL Server is Varchar(80)&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jul 2021 03:30:53 GMT</pubDate>
    <dc:creator>GeorgieCassar1</dc:creator>
    <dc:date>2021-07-01T03:30:53Z</dc:date>
    <item>
      <title>ERROR: relation already exists. Appears in ArcGIS Server log when using predefined filter</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/error-relation-already-exists-appears-in-arcgis/m-p/1074560#M809</link>
      <description>&lt;P&gt;We have a predefined filter in our Insights project based on a TEXT field called &lt;EM&gt;thefinancialyear&lt;/EM&gt;.&amp;nbsp; The values look like eg.&amp;nbsp; 2020-2021&lt;/P&gt;&lt;P&gt;When we use the predefined filter, it does work but we are noticing that the ArcGIS Server log displays an error that says&lt;/P&gt;&lt;P&gt;(&lt;BR /&gt;Query [-1] failed "ERROR: relation "insights_a319a7fdd67024d0708bcf29a9735655" already exists": CREATE INDEX "insights_a319a7fdd67024d0708bcf29a9735655" ON "water_consumption_data_dashboard_water_meter_reading" ((lower(trim("thefinancialyear"::TEXT))))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;I am unsure what this error is telling me.&amp;nbsp;&amp;nbsp; Does Insights try to index the field on the fly ?.&lt;/P&gt;&lt;P&gt;We have not indexed it in our SQL table.&amp;nbsp; Should we try doing this ?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The field type in SQL Server is Varchar(80)&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 03:30:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/error-relation-already-exists-appears-in-arcgis/m-p/1074560#M809</guid>
      <dc:creator>GeorgieCassar1</dc:creator>
      <dc:date>2021-07-01T03:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: relation already exists. Appears in ArcGIS Server log when using predefined filter</title>
      <link>https://community.esri.com/t5/arcgis-insights-questions/error-relation-already-exists-appears-in-arcgis/m-p/1074565#M810</link>
      <description>&lt;P&gt;Insights indeed tries to create an index on the fly. The error can safely be ignored (and it should really be a debug/verbose level log message, we will correct that in a future release).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 04:18:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-insights-questions/error-relation-already-exists-appears-in-arcgis/m-p/1074565#M810</guid>
      <dc:creator>HeikoHeijenga</dc:creator>
      <dc:date>2021-07-01T04:18:18Z</dc:date>
    </item>
  </channel>
</rss>

