<?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: Definition Query Bug in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480658#M21119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEyODkwOQ==" title="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEyODkwOQ=="&gt;BUG-000128909: When using 'includes the value(s)' or 'does not incl..&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strange, it says "not in current production plan"&lt;/P&gt;&lt;P&gt;but its 'duplicate' says Fixed in 2.6&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExOTk1Nw==" title="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExOTk1Nw=="&gt;BUG-000119957: In ArcGIS Pro, when using the Includes the value(s) ..&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Mar 2020 22:57:31 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2020-03-14T22:57:31Z</dc:date>
    <item>
      <title>Definition Query Bug</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480649#M21110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using ArcGIS Pro 2.4.3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the interactive Definition Query window as shown in the attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'Congo, Dem Rep of the' is not added correctly to the SQL string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the result in the SQL window&amp;nbsp; The interactive window is incorrectly parsing&amp;nbsp;&lt;SPAN&gt;'Congo, Dem Rep of the' into two pieces.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNTRY_NA IN ('Angola', 'Congo', 'Dem Rep of the', 'Malawi', 'Tanzania', 'Zimbabwe', 'Mozambique', 'Congo', 'Dem Rep of the', 'Botswana', 'Namibia')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;These data are from the US Department of State.&amp;nbsp;&lt;A href="http://geonode.state.gov/layers/geonode%3AGlobal_LSIB_Polygons_Detailed"&gt;http://geonode.state.gov/layers/geonode%3AGlobal_LSIB_Polygons_Detailed&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 17:38:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480649#M21110</guid>
      <dc:creator>BrianKaplan</dc:creator>
      <dc:date>2020-02-05T17:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query Bug</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480650#M21111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brian,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this include a comma in&amp;nbsp;the name? I think this might be related to a bug we have logged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;BUG-000111347: The layer definition query with Add Clause and 'Include(s) the value(s)' on a text field with comma-separated single values is interpreted incorrectly and separates one value in the data into two separate values.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 20:25:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480650#M21111</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-02-05T20:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query Bug</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480651#M21112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm on 2.4.3 and also have this problem. I haven't upgraded to 2.5 yet, but does 2.5 provide the fix?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 19:11:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480651#M21112</guid>
      <dc:creator>AndySiegel</dc:creator>
      <dc:date>2020-02-07T19:11:04Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query Bug</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480652#M21113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy, it doesn't look like this bug is supposed to be fixed in 2.5. There is a workaround, using delimiters other than commas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 20:51:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480652#M21113</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-02-07T20:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query Bug</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480653#M21114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luba. Thanks for the response. What's an example of workaround using different delimiters, in the case mentioned by the OP?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expected result:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;COUNTRY_NA IN ('Angola', 'Congo, Dem Rep of the', 'Malawi', 'Tanzania', 'Zimbabwe', 'Mozambique', 'Congo', 'Dem Rep of the', 'Botswana', 'Namibia')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Actual result:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;COUNTRY_NA IN ('Angola', 'Congo', 'Dem Rep of the', 'Malawi', 'Tanzania', 'Zimbabwe', 'Mozambique', 'Congo', 'Dem Rep of the', 'Botswana', 'Namibia')&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 21:47:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480653#M21114</guid>
      <dc:creator>AndySiegel</dc:creator>
      <dc:date>2020-02-07T21:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query Bug</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480654#M21115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andy,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, instead of 'Congo, Dem of the' it would be 'Congo; Dem of the'-- or slashes. I haven't tested this out my end so I don't know what happens if the comma is removed completely and left with a space.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2020 23:00:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480654#M21115</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-02-07T23:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query Bug</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480655#M21116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/330800"&gt;Luba Hristova&lt;/A&gt;‌, do you know what is the status of this bug, how is it classified in the ESRI bug tracking system?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran into something similar back in the days in Pro 1.0. This is really a &lt;STRONG&gt;*major*&lt;/STRONG&gt; issue that needs fixing &lt;STRONG&gt;a.s.a.p.&lt;/STRONG&gt; Things like this are a real PITA when using Pro, and should have top priority fixing. This is core functionality that should not fail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Feb 2020 14:00:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480655#M21116</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2020-02-09T14:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query Bug</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480656#M21117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/330800"&gt;Luba Hristova&lt;/A&gt;&amp;nbsp;- I received a supportcase from a Norwegian client with the exact same problem but related to "Select by Attributes".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As &lt;A href="https://community.esri.com/migrated-users/223333"&gt;Andy Siegel&lt;/A&gt; pointed out the expected SQL is not produced by the "expression builder" - but it is possible to make a perfect SQL query by switching to directly writing SQL syntax (or edit the invalid result from the "expression builder").&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will raise a supportcase to add one more vote for fixing the "expression builder". In my case I have a text-field "opphav" with (some of the) possible values:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;khm, kulturhistorisk museum, oslo&lt;/LI&gt;&lt;LI&gt;sametinget, hovedkontor&lt;/LI&gt;&lt;LI&gt;snåsa regionkontor, sametinget&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression builder&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/483210_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;Which gives 0 returns, due to the SQL being translated to:&lt;/P&gt;&lt;P&gt;opphav IN ('khm', 'kulturhistorisk museum', 'oslo', 'khm', 'kulturhistorisk museum', 'oslo', 'sametinget', 'hovedkontor', 'khm', 'kulturhistorisk museum', 'oslo', 'sametinget', 'hovedkontor', 'snåsa regionkontor', 'sametinget', 'khm', 'kulturhistorisk museum', 'oslo', 'snåsa regionkontor', 'sametinget', 'sametinget', 'hovedkontor')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I edit this SQL to (by switching to the SQL editor:&lt;/P&gt;&lt;P&gt;opphav IN ('khm, kulturhistorisk museum', 'sametinget, hovedkontor', 'snåsa regionkontor') I get the expected result&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/483211_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So no need to alter the data by replacing commas with other charachters, but indeed a need for making the expression builder produce correct SQL syntax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2020 10:32:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480656#M21117</guid>
      <dc:creator>Pål_Herman_Sund</dc:creator>
      <dc:date>2020-02-25T10:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query Bug</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480657#M21118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/223333"&gt;Andy Siegel&lt;/A&gt;‌,&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/297303"&gt;Luba Hristova&lt;/A&gt;,‌ Marco, Brian&lt;/P&gt;&lt;P&gt;As this problem also affects "select by attributes" a raised a case last night and a new bug was&amp;nbsp;accepted in minutes (thanks to Jacob Hartle for a prompt response).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bug Number: BUG-000128909&lt;/P&gt;&lt;P&gt;Synopsis: In ArcGIS Pro, when using the Includes the value(s) or does not include the value(s) evaluators in the Select by Attributes tool, records fail to return if the field contains a comma.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it should be at least 3 bugs related to this problem in Pro, please fix &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 08:09:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480657#M21118</guid>
      <dc:creator>Pål_Herman_Sund</dc:creator>
      <dc:date>2020-02-26T08:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query Bug</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480658#M21119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEyODkwOQ==" title="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEyODkwOQ=="&gt;BUG-000128909: When using 'includes the value(s)' or 'does not incl..&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Strange, it says "not in current production plan"&lt;/P&gt;&lt;P&gt;but its 'duplicate' says Fixed in 2.6&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExOTk1Nw==" title="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDExOTk1Nw=="&gt;BUG-000119957: In ArcGIS Pro, when using the Includes the value(s) ..&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2020 22:57:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480658#M21119</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-03-14T22:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query Bug</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480659#M21120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The latter bug (000119957) says fixed in 2.6. So my surprise was more "why not in upcoming servicepacks".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Mar 2020 10:36:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480659#M21120</guid>
      <dc:creator>Pål_Herman_Sund</dc:creator>
      <dc:date>2020-03-15T10:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query Bug</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480660#M21121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like it is being evaluated for inclusion in a 2.5 Patch 1.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2020 12:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480660#M21121</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2020-03-16T12:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query Bug</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480661#M21122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am closing this question out as "Assumed Answered."&amp;nbsp; I realize the bug hasn't been fixed yet, but the answer to the OP's question is, "it is a bug and Esri is working on addressing it."&amp;nbsp; &lt;A href="https://community.esri.com/migrated-users/45316"&gt;Kory Kramer&lt;/A&gt;‌, please keep posting updates on defect status so people that find this thread in the future has the latest information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2020 14:46:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/definition-query-bug/m-p/480661#M21122</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-03-16T14:46:48Z</dc:date>
    </item>
  </channel>
</rss>

