Environment:
Issue Description:
We are experiencing inconsistent query results when publishing a layer from ArcGIS Pro to our Enterprise Portal as a hosted feature layer.
In ArcGIS Pro, we apply the following Query Definition to a layer stored in a file geodatabase:
(code1 IS NULL OR code1 = '' OR code1 = 'Y') AND date >= timestamp '2023-01-01 00:00:00.000'
This returns approximately 37,000 features as expected.
However, after publishing this layer to the Enterprise Portal as a hosted feature layer, we observe the following issues:
This leads us to believe that the issue lies in how code1 IS NULL OR code1 = '' is being interpreted or handled when the layer is published to the Enterprise Portal.
It seems that null or empty string filters are not being correctly transferred or respected in the hosted feature layer environment. Unfortunately, even when we try to apply these filters directly in the Portal (outside of ArcGIS Pro), the results are still incorrect.
Additionally, hosted feature layer published with 8000 or 32000 maximum return count, and it didn't change anything.
Has anyone else encountered this issue?
Is there a known limitation or workaround for handling NULL or empty string values in hosted feature layers or view layers in ArcGIS Enterprise?
Any insights or suggestions would be greatly appreciated.
Thanks in advance!