arcgis-python-api icon indicating copy to clipboard operation
arcgis-python-api copied to clipboard

Bug in Lib\site-packages\arcgis\_impl\common\_query.py

Open hildermesmedeiros opened this issue 6 months ago • 5 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

# FeatureLayer with many data points and usually an unstable connection.
import pandas as pd
from arcgis.gis import GIS
from arcgis.features import FeatureLayer
import json
from string import Template
gis = GIS('pro')
print(gis.users.me)


fl = FeatureLayer('url/FeatureServer/11')
df: pd.DataFrame = fl.query().sdf

error:

# No error, but there are more rows than actually exist in the data.

Screenshots image

Expected behavior Check for duplicated data before inserting.

Platform (please complete the following information):

  • OS: Any
  • Python API Version 2.3.0`

Additional context Add any other context about the problem here, attachments etc.

hildermesmedeiros avatar Aug 09 '24 21:08 hildermesmedeiros