<?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: BigInt + PostGIS = &amp;quot;Invalid Column Data Type&amp;quot; in Desktop in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/bigint-postgis-quot-invalid-column-data-type-quot/m-p/705294#M39965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's a bit more exotic than that.&amp;nbsp; Oracle doesn't directly support ANSI integer and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;floating-point types, so INT64TYPES was added to allow the server to map the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;columns of previously undiscovered tables into SE_INT64_TYPE or SE_FLOAT64_TYPE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;columns.&amp;nbsp; It will also prevent creation of new tables with SE_INT64_TYPE columns&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;via the ArcSDE API. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I'm not exactly sure how it interacts with the PG svrmgr (since PG uses discrete &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;types, not "NUMBER", there's less flexibility in column bind variable types).&amp;nbsp; I believe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the&amp;nbsp; BIGINT type is simply unsupported without regard to INT64TYPES content (that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is, ArcSDE identifies the correct type, but ArcGIS doesn't support it).&amp;nbsp; You could &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;confirm this by doing a 'sdetable -o describe' on a "new" table -- If the describe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fails, then ArcSDE is honoring INT64TYPES=FALSE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jan 2012 16:03:48 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2012-01-25T16:03:48Z</dc:date>
    <item>
      <title>BigInt + PostGIS = "Invalid Column Data Type" in Desktop</title>
      <link>https://community.esri.com/t5/data-management-questions/bigint-postgis-quot-invalid-column-data-type-quot/m-p/705291#M39962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have created a type using the following statements:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CREATE TABLE blocks(objectid bigint NOT NULL, block varchar(4), res smallint);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT AddGeometryColumn('blocks', 'shape', 4326, 'GEOMETRY', 2 );&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sdelayer -o register -l blocks,shape -C ojbectid,SDE -e a -t PG_GEOMETRY -u sde -p sde -i esri_sde&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, anytime I go to access that layer in ArcDesktop 10 tools I get the "Invalid Column Data Type" error. If I switch objectid to integer instead of a bigint it works fine. I also thought it might just be an issue with having the objectid field as bigint, but apparently if a bigint field is anywhere in the table I get the same error in ArcDesktop 10. I have tried setting SDE server parameter to allow INT64TYPES to TRUE, but that didn't help anything either so I set it back. Does ArcDeskop 10 not support fields that are bigint? If it does, how do I get this to work?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 02:42:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/bigint-postgis-quot-invalid-column-data-type-quot/m-p/705291#M39962</guid>
      <dc:creator>KyleRotte</dc:creator>
      <dc:date>2012-01-25T02:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: BigInt + PostGIS = "Invalid Column Data Type" in Desktop</title>
      <link>https://community.esri.com/t5/data-management-questions/bigint-postgis-quot-invalid-column-data-type-quot/m-p/705292#M39963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;While ArcSDE does, ArcGIS Desktop and ArcGIS Server do not support BIGINT (64-bit integer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;datatypes (which is why INT64TYPES is disabled by default).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 10:29:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/bigint-postgis-quot-invalid-column-data-type-quot/m-p/705292#M39963</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-01-25T10:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: BigInt + PostGIS = "Invalid Column Data Type" in Desktop</title>
      <link>https://community.esri.com/t5/data-management-questions/bigint-postgis-quot-invalid-column-data-type-quot/m-p/705293#M39964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply Vince. I thought that if INT64TYPES was set to false that SDE converted the data to a double that could be handled by desktop. Is that not true?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;While ArcSDE does, ArcGIS Desktop and ArcGIS Server do not support BIGINT (64-bit integer)&lt;BR /&gt;datatypes (which is why INT64TYPES is disabled by default).&lt;BR /&gt;&lt;BR /&gt;- V&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 12:54:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/bigint-postgis-quot-invalid-column-data-type-quot/m-p/705293#M39964</guid>
      <dc:creator>KyleRotte</dc:creator>
      <dc:date>2012-01-25T12:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: BigInt + PostGIS = "Invalid Column Data Type" in Desktop</title>
      <link>https://community.esri.com/t5/data-management-questions/bigint-postgis-quot-invalid-column-data-type-quot/m-p/705294#M39965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's a bit more exotic than that.&amp;nbsp; Oracle doesn't directly support ANSI integer and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;floating-point types, so INT64TYPES was added to allow the server to map the&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;columns of previously undiscovered tables into SE_INT64_TYPE or SE_FLOAT64_TYPE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;columns.&amp;nbsp; It will also prevent creation of new tables with SE_INT64_TYPE columns&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;via the ArcSDE API. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I'm not exactly sure how it interacts with the PG svrmgr (since PG uses discrete &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;types, not "NUMBER", there's less flexibility in column bind variable types).&amp;nbsp; I believe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the&amp;nbsp; BIGINT type is simply unsupported without regard to INT64TYPES content (that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is, ArcSDE identifies the correct type, but ArcGIS doesn't support it).&amp;nbsp; You could &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;confirm this by doing a 'sdetable -o describe' on a "new" table -- If the describe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fails, then ArcSDE is honoring INT64TYPES=FALSE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2012 16:03:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/bigint-postgis-quot-invalid-column-data-type-quot/m-p/705294#M39965</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-01-25T16:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: BigInt + PostGIS = "Invalid Column Data Type" in Desktop</title>
      <link>https://community.esri.com/t5/data-management-questions/bigint-postgis-quot-invalid-column-data-type-quot/m-p/705295#M39966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This post is from 2012, but is there a newer response or update on the 64-bit integer types being usable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm extracting data from my legacy data &amp;gt; converting it to use in ArcGIS Pro&lt;/P&gt;&lt;P&gt;Large Int = all our table_ID fields. Will I have to continue to convert to float or int? Which one is suggested Float or Int?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish discussion's from 6 years ago were not first in my search results &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2019 19:25:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/bigint-postgis-quot-invalid-column-data-type-quot/m-p/705295#M39966</guid>
      <dc:creator>TrevorMillen</dc:creator>
      <dc:date>2019-05-03T19:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: BigInt + PostGIS = "Invalid Column Data Type" in Desktop</title>
      <link>https://community.esri.com/t5/data-management-questions/bigint-postgis-quot-invalid-column-data-type-quot/m-p/705296#M39967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not aware of any changes to type support in the last six releases of ArcGIS.&amp;nbsp; I haven't tried to see if ArcGIS Pro handles bigint types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using either integer or double is problematic in terms of primary keys.&amp;nbsp; Neither can capture the full range of bigint values.&amp;nbsp; If there are no values which exceed 2^31-1, then you should certainly use an integer type.&amp;nbsp; If the values exceed two billion, I'd recommend considering either hi/lo integers as a compound key, or using UUID (128-bit) with the 64-bit integer mapped to the lower half of the range.&amp;nbsp; After that would be ASCII text, and then double, since float equivalence is fundamentally unreliable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 May 2019 00:05:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/bigint-postgis-quot-invalid-column-data-type-quot/m-p/705296#M39967</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2019-05-04T00:05:42Z</dc:date>
    </item>
  </channel>
</rss>

