laptop and a wrench

Bug

Publishing a query layer created from the Snowflake database fails, and an error occurs when 'materialized view' is selected in the Share As Web Layer window.

Last Published: December 20, 2022 ArcGIS Pro
Bug ID Number BUG-000148202
SubmittedApril 4, 2022
Last ModifiedJune 6, 2024
Applies toArcGIS Pro
Version found2.9
Operating SystemWindows OS
Operating System VersionN/A
Version Fixed3.1
StatusFixed

Additional Information

There are some limitations in Snowflake regarding the creation of materialized views. With some query syntax, a materialized view cannot be created, causing publishing to fail. The logic in a sharing analyzer is adjusted to better inform when a materialized view cannot be supported. The same logic is used in the New Query Layer dialog when the materialized view checkbox is selected. When publishing data in Snowflake, the default configuration option is changed to 'access data directly'.

Workaround

  1. In the Share as Web Layer window, select the Configuration tab.
  2. Select the Configuration Parameters icon.
  3. The Data Source section displays 'materialized view' by default. Switch to the option 'access data directly'.

Publishing is successful.

Steps to Reproduce

Bug ID: BUG-000148202

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