laptop and a wrench

Bug

In ArcGIS Pro 2.9, the arcpy.ListFields function returns an error message stating that the in_memory or table does not exist when viewing the output of the arcpy.management.MakeQueryTable function.

Last Published: March 24, 2022 ArcGIS Pro
Bug ID Number BUG-000146824
SubmittedFebruary 11, 2022
Last ModifiedNovember 21, 2024
Applies toArcGIS Pro
Version found2.9
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusIn Review

Workaround

In Step 4, add the entire path of the book_dissolve feature class and do not use the in_memory workspace location as shown below:

test_view = arcpy.management.MakeQueryTable('C:\\Users\\ANIKETD\\Downloads\\from_nevada_county\\for_esri_case.gdb\\book_dissolve', 'books')

arcpy.ListFields(test_view)

The result shows:

[<Field object at 0x2143b6b5a48[0x21400a02bb0]>, <Field object at 0x214009d7248[0x21400a028b0]>, <Field object at 0x214009d7548[0x21400a02970]>, <Field object at 0x214009d7e08[0x214009d89f0]>, <Field object at 0x214009d78c8[0x214009d83d0]>]

Steps to Reproduce

Bug ID: BUG-000146824

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options