You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: mark expressions with known correctness issues as incompatible
Review all open correctness issues and mark affected expressions as
Incompatible so they fall back to Spark by default. Update the
compatibility guide with detailed documentation of each incompatibility
and links to tracking issues.
Expressions marked Incompatible:
- ArrayContains (#3346), GetArrayItem (#3330, #3332), ArrayRemove (#3173)
- Hour, Minute, Second for TimestampNTZ inputs (#3180)
- TruncTimestamp for non-UTC timezones (#2649)
- Ceil, Floor for Decimal inputs (#1729)
- Tan (#1897), Corr (#2646), StructsToJson (#3016)
| ArrayContains |No| Returns null instead of false for empty arrays with literal values ([#3346](https://github.com/apache/datafusion-comet/issues/3346))|
237
237
| ArrayDistinct | No | Behaves differently than spark. Comet first sorts then removes duplicates while Spark preserves the original order. |
238
238
| ArrayExcept | No ||
239
239
| ArrayFilter | Yes | Only supports case where function is `IsNotNull`|
@@ -242,14 +242,14 @@ Comet supports using the following aggregate functions within window contexts wi
242
242
| ArrayJoin | No ||
243
243
| ArrayMax | Yes ||
244
244
| ArrayMin | Yes ||
245
-
| ArrayRemove |Yes||
245
+
| ArrayRemove |No| Returns null when element is null instead of removing null elements ([#3173](https://github.com/apache/datafusion-comet/issues/3173))|
246
246
| ArrayRepeat | No ||
247
247
| ArrayUnion | No | Behaves differently than spark. Comet sorts the input arrays before performing the union, while Spark preserves the order of the first array and appends unique elements from the second. |
248
248
| ArraysOverlap | No ||
249
249
| CreateArray | Yes ||
250
250
| ElementAt | Yes | Input must be an array. Map inputs are not supported. |
251
251
| Flatten | Yes ||
252
-
| GetArrayItem |Yes||
252
+
| GetArrayItem |No| Known correctness issues with index handling ([#3330](https://github.com/apache/datafusion-comet/issues/3330), [#3332](https://github.com/apache/datafusion-comet/issues/3332))|
253
253
254
254
## Map Expressions
255
255
@@ -269,7 +269,7 @@ Comet supports using the following aggregate functions within window contexts wi
0 commit comments