<?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 Issue Using Snowflake Tables in ArcGIS Pro in Geodatabase Questions</title>
    <link>https://community.esri.com/t5/geodatabase-questions/issue-using-snowflake-tables-in-arcgis-pro/m-p/1261373#M8283</link>
    <description>&lt;P&gt;Our database admins have created a table view in Snowflake that includes a field that should function as the ObjectID field in ArcGIS Pro.&amp;nbsp; However, whenever I bring the table into ArcGIS Pro, the properties for the table indicate that &lt;EM&gt;ObjectID: None&lt;/EM&gt;.&amp;nbsp; Additionally, when I view the field properties, the field that should function as the ObjectID field is being interpreted in ArcGIS Pro as a &lt;EM&gt;Double&lt;/EM&gt; instead of an &lt;EM&gt;Integer&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;From what my database admins told me, it sounds like Snowflake approaches &lt;A href="https://docs.snowflake.com/en/sql-reference/data-types-numeric" target="_self"&gt;numeric data types&lt;/A&gt; slightly differently than other database systems.&lt;/P&gt;&lt;P&gt;I was wondering if anyone else has encountered this issue, and if so, how you were able to overcome it.&amp;nbsp; Our goal is to be able to bring the tables directly from Snowflake into ArcGIS Pro (and ArcGIS Enterprise), and join the tables to existing spatial datasets.&lt;/P&gt;&lt;P&gt;Thanks for any insights you may have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Feb 2023 13:20:48 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2023-02-24T13:20:48Z</dc:date>
    <item>
      <title>Issue Using Snowflake Tables in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/geodatabase-questions/issue-using-snowflake-tables-in-arcgis-pro/m-p/1261373#M8283</link>
      <description>&lt;P&gt;Our database admins have created a table view in Snowflake that includes a field that should function as the ObjectID field in ArcGIS Pro.&amp;nbsp; However, whenever I bring the table into ArcGIS Pro, the properties for the table indicate that &lt;EM&gt;ObjectID: None&lt;/EM&gt;.&amp;nbsp; Additionally, when I view the field properties, the field that should function as the ObjectID field is being interpreted in ArcGIS Pro as a &lt;EM&gt;Double&lt;/EM&gt; instead of an &lt;EM&gt;Integer&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;From what my database admins told me, it sounds like Snowflake approaches &lt;A href="https://docs.snowflake.com/en/sql-reference/data-types-numeric" target="_self"&gt;numeric data types&lt;/A&gt; slightly differently than other database systems.&lt;/P&gt;&lt;P&gt;I was wondering if anyone else has encountered this issue, and if so, how you were able to overcome it.&amp;nbsp; Our goal is to be able to bring the tables directly from Snowflake into ArcGIS Pro (and ArcGIS Enterprise), and join the tables to existing spatial datasets.&lt;/P&gt;&lt;P&gt;Thanks for any insights you may have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 13:20:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/issue-using-snowflake-tables-in-arcgis-pro/m-p/1261373#M8283</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2023-02-24T13:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Using Snowflake Tables in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/geodatabase-questions/issue-using-snowflake-tables-in-arcgis-pro/m-p/1261386#M8284</link>
      <description>&lt;P&gt;Were they following this&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/databases/connect-snowflake.htm" target="_blank"&gt;Connect to Snowflake from ArcGIS—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and got the necessary drivers installed?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 14:09:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/issue-using-snowflake-tables-in-arcgis-pro/m-p/1261386#M8284</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2023-02-24T14:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Using Snowflake Tables in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/geodatabase-questions/issue-using-snowflake-tables-in-arcgis-pro/m-p/1261452#M8285</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous User&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Snowflake data types that are supported by ArcGIS Pro.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/databases/cloud-data-warehouse-data-types.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/databases/cloud-data-warehouse-data-types.htm&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Depending on the data type in snowflake for the ObjectID, you are seeing expected behavior with the ObjectID being mapped to Double. To overcome this, you can look into using the CAST operation in your SELECT query&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/navigation/sql-reference-for-elements-used-in-query-expressions.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/help/mapping/navigation/sql-reference-for-elements-used-in-query-expressions.htm&lt;/A&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In the following article, you can review the requirements for ArcGIS Pro to consider a unique identifier.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/choose-unique-identifier.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/choose-unique-identifier.htm&lt;/A&gt;&lt;UL&gt;&lt;LI&gt;example: CAST(&amp;lt;field&amp;gt; as varchar(50))&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Marlon&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/databases/cloud-data-warehouse-data-types.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/databases/cloud-data-warehouse-data-types.htm&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 16:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/issue-using-snowflake-tables-in-arcgis-pro/m-p/1261452#M8285</guid>
      <dc:creator>MarlonAmaya</dc:creator>
      <dc:date>2023-02-24T16:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Using Snowflake Tables in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/geodatabase-questions/issue-using-snowflake-tables-in-arcgis-pro/m-p/1261633#M8287</link>
      <description>&lt;P&gt;Thanks for the resources.&amp;nbsp; There is not even an ability to use "Select By Attributes" tool, because the table's ObjectID propertie's are "None."&amp;nbsp; Is there a way to use the CAST function or other method, to force ArcGIS Pro to process the OID field as Integer instead of Double?&lt;/P&gt;&lt;P&gt;Based upon the one link you provided, it appears Snowflake does not natively support the Integer data type for fields.&amp;nbsp; It's still unclear if we can even use their tables in ArcGIS Pro due to this limitation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 20:51:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/issue-using-snowflake-tables-in-arcgis-pro/m-p/1261633#M8287</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2023-02-24T20:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Using Snowflake Tables in ArcGIS Pro</title>
      <link>https://community.esri.com/t5/geodatabase-questions/issue-using-snowflake-tables-in-arcgis-pro/m-p/1262750#M8296</link>
      <description>&lt;P&gt;@Anonymous User&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure I understand the need to use "Select by Attributes". Based on our doc, you would not be able to use CAST to convert to an Integer, since Pro does not map any of the supported snowflake datatypes to integer.&lt;/P&gt;&lt;P&gt;Here is the doc used on how we view data in snowflake using query layers.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/create-a-query-layer-cloud-data-warehouse.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/mapping/layer-properties/create-a-query-layer-cloud-data-warehouse.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Marlon&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 21:31:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/geodatabase-questions/issue-using-snowflake-tables-in-arcgis-pro/m-p/1262750#M8296</guid>
      <dc:creator>MarlonAmaya</dc:creator>
      <dc:date>2023-02-28T21:31:08Z</dc:date>
    </item>
  </channel>
</rss>

