From 2aba2962ea26d75efba337a13d9d4bc87fe9ea31 Mon Sep 17 00:00:00 2001 From: Jack Eadie Date: Mon, 16 Dec 2024 08:01:11 +1000 Subject: [PATCH] Update arrow.md (#672) --- spiceaidocs/docs/components/data-accelerators/arrow.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spiceaidocs/docs/components/data-accelerators/arrow.md b/spiceaidocs/docs/components/data-accelerators/arrow.md index 4c552550..0d96ecd0 100644 --- a/spiceaidocs/docs/components/data-accelerators/arrow.md +++ b/spiceaidocs/docs/components/data-accelerators/arrow.md @@ -36,7 +36,8 @@ datasets: - The In-Memory Arrow Data Accelerator does not support persistent storage. Data is stored in-memory and will be lost when the Spice runtime is stopped. - The In-Memory Arrow Data Accelerator does not support `Decimal256` (76 digits), as it exceeds Arrow's maximum Decimal width of 38 digits. -- The In-Memory Arrow Data Accelerator does not support [constraints](/features/data-acceleration/constraints) and [indexes](/features/data-acceleration/indexes). +- The In-Memory Arrow Data Accelerator does not support [indexes](/features/data-acceleration/indexes). +- The In-Memory Arrow Data Accelerator only supports primary-key [constraints](/features/data-acceleration/constraints), not `unique` constraints. - With Arrow acceleration, mathematical operations like `value1 / value2` are treated as integer division if the values are integers. For example, `1 / 2` will result in 0 instead of the expected 0.5. Use casting to FLOAT to ensure conversion to a floating-point value: `CAST(1 AS FLOAT) / CAST(2 AS FLOAT)` (or `CAST(1 AS FLOAT) / 2`). :::warning[Memory Considerations]