The query builder will generally prevent you from running transforms that are invalid, and errors should be rare. However, some errors can only be detected as the query is run — in these cases the job will fail as soon as it encounters an error, logging the error message to the top of the transform builder.
If you come across an error message not on this list, please email email@example.com for further assistance.
Some common errors:
This error occurs when a query utilizes too much memory, yet it is often easily resolvable and due to unintended behavior within the transform. This error is caused by a certain component of the query not being parallelizable, which often occurs when combining and / or ordering many distinct values. We recommend investigating the following culprits:
order clauses in your transform — either at the bottom of the transform or in a partitioned query. Often, attempts to order on hundreds of millions or billions of distinct values will fail. Note that ordering rows at the bottom of the transform does not affect your output, and is only useful in preparing your data for export.
Confirm that none of your aggregation methods are creating massive cells. For example, using the
String aggregate method on an exceptionally large partition can collapse and concatenate many values into one record — if the cell becomes too big, this error will be thrown.
Currently, queries on Redivis are limited to 1TB total compute cost. Please see Managing costs for more information on how to reduce your query's cost.
When converting between variable types, all values must be appropriately formatted for conversion to the new type. For example, the value
"1,000" is not a valid integer and will throw an error when being converted from a string to an integer.
There are several options for getting around cast errors:
Choose the "Set incompatible values to null" option when changing types. Note that this will set all invalid values to
NULL, potentially causing unintended side effects. Use with caution.
Filter out all records that have incompatible values.
Create a new variable, using the
Case method to convert any invalid values to something that can be appropriately cast.
You can learn more about variable types and conversion here.