<?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 Oracle - Unable to complete operation on output statistics in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/oracle-unable-to-complete-operation-on-output/m-p/1183101#M33345</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are having issues with our 10.9.1 instance in regard to sql queries from a oracle 19C database.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;We are working with a hybrid method where some tables are registered into an enterprise geodatabase and some aren’t. When creating Dashboard Indicators or REST API queries, only layers from a registered table (Enterprise Geodatabase Feature Class) can return statistics. Ex: count, sum, max.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Query layers from unregistered tables and even Query layers on a registered table return errors. (Unable to complete operation).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Example: Let say we have a table named SITES which is registered. I create 2 layers in ArcGIS Pro using the said table and publish a service (MapService, FeatureServer).&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Enterprise Geodatabase Feature Class&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Query layer =&amp;gt; SELECT ID, NAME, TYPE FROM SITES&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;I then go to the REST API and do a query using Output Statistics, ["onStatisticField":"ID","outStatisticFieldName":"value","statisticType":"count"]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer 1 returns a count, Layer 2 returns an error Unable to complete operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;Any ideas ?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2022 13:14:30 GMT</pubDate>
    <dc:creator>IngRF</dc:creator>
    <dc:date>2022-06-15T13:14:30Z</dc:date>
    <item>
      <title>Oracle - Unable to complete operation on output statistics</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/oracle-unable-to-complete-operation-on-output/m-p/1183101#M33345</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are having issues with our 10.9.1 instance in regard to sql queries from a oracle 19C database.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;We are working with a hybrid method where some tables are registered into an enterprise geodatabase and some aren’t. When creating Dashboard Indicators or REST API queries, only layers from a registered table (Enterprise Geodatabase Feature Class) can return statistics. Ex: count, sum, max.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Query layers from unregistered tables and even Query layers on a registered table return errors. (Unable to complete operation).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;Example: Let say we have a table named SITES which is registered. I create 2 layers in ArcGIS Pro using the said table and publish a service (MapService, FeatureServer).&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;Enterprise Geodatabase Feature Class&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Query layer =&amp;gt; SELECT ID, NAME, TYPE FROM SITES&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;I then go to the REST API and do a query using Output Statistics, ["onStatisticField":"ID","outStatisticFieldName":"value","statisticType":"count"]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer 1 returns a count, Layer 2 returns an error Unable to complete operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;Any ideas ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 13:14:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/oracle-unable-to-complete-operation-on-output/m-p/1183101#M33345</guid>
      <dc:creator>IngRF</dc:creator>
      <dc:date>2022-06-15T13:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle - Unable to complete operation on output statistics</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/oracle-unable-to-complete-operation-on-output/m-p/1183183#M33347</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/441622"&gt;@IngRF&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like you are hitting a bug that we are hoping to address in 11.0. Meanwhile, if you want, you can try the steps from the help below. That might help you workaround the bug.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-oracle/configure-oracle-extproc.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-oracle/configure-oracle-extproc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Apologies for the inconvenience.&lt;/P&gt;&lt;P&gt;Tanu&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 15:38:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/oracle-unable-to-complete-operation-on-output/m-p/1183183#M33347</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2022-06-15T15:38:40Z</dc:date>
    </item>
  </channel>
</rss>

