Symptoms:
-
The query results display only up to 2,000 rows.
-
Users may believe data is missing when more than 2,000 rows are expected.
- This is particularly noticeable when a user might order their data (using
ORDER BY
), and suddenly see a different combination of results than they saw before.
- This is particularly noticeable when a user might order their data (using
-
The row count in the bottom right corner shows 2,000, with no warnings or error messages.
Cause: The SQL Data Explorer has a built-in row limit of 2,000. This limit is not explicitly mentioned within the user interface or documentation, leading users to possibly believe their data is incomplete or that there is an issue with the query.
Resolution: To address this limitation, users can take the following steps:
-
Refine the SQL Query: Modify the SQL query to reduce the number of results returned. This can be done by applying filters that narrow down the dataset, such as filtering by date ranges using a column like
EVENT_DATE
, or by using other relevant criteria to ensure the results are both reduced and meaningful. -
Link to a Snowflake Account: For users who need to work with larger datasets, linking the project to a Snowflake account via Data Access can allow for handling and viewing larger volumes of data. This approach bypasses the row limit in SQL Data Explorer, enabling users to access their full dataset.
For more information on linking to a Snowflake account, please refer to the following resources:
More information: Understanding the row limit in SQL Data Explorer is crucial for accurate data analysis and reporting. By refining queries or utilizing external data connections like Snowflake, users can ensure they are accessing complete datasets without missing critical information. For further assistance, please consult the Unity documentation or contact support.