This section records per-version audit notes for Spark expressions that have been audited for Comet compatibility. These are findings from auditing the Spark implementation across versions (3.4.3, 3.5.8, 4.0.1), not a statement of support status.
Three kinds of audit are recorded per expression:
- Correctness audits compare the Spark implementation across versions and note divergences and test-coverage gaps. Use the
audit-comet-expressionskill, which appends its findings to the relevant category page below. - Performance audits record when a native expression has been performance-tuned, so contributors can see at a glance which expressions have already been optimized. Recorded as a dated
Performance (tuned ...)line under the expression, they name the technique, the measured speedup, the linking PR, and the benchmark file. Use theoptimize-comet-expressionskill (see Optimizing Scalar Expressions), which appends this line after a change is benchmarked and merged. - Native candidate assessments record whether an expression that currently runs through the JVM codegen dispatcher is worth implementing natively, so candidates that have already been ruled out are not re-assessed. Recorded as a dated
Native candidate (assessed ...)line under the expression, they give a verdict (Recommended,Deferred, orDisqualified), a compatibility rating, a native-upside rating, the specific blocker for anything not recommended, and the issue filed for a recommendation. Use thesuggest-native-expressionskill. A re-assessment adds a new dated line rather than editing the old one, so the history stays visible.
For the authoritative list of which expressions Comet supports, see the user guide Spark Expression Support.
:maxdepth: 1
agg_funcs <agg_funcs>
array_funcs <array_funcs>
bitwise_funcs <bitwise_funcs>
collection_funcs <collection_funcs>
conditional_funcs <conditional_funcs>
conversion_funcs <conversion_funcs>
datetime_funcs <datetime_funcs>
generator_funcs <generator_funcs>
hash_funcs <hash_funcs>
json_funcs <json_funcs>
map_funcs <map_funcs>
math_funcs <math_funcs>
misc_funcs <misc_funcs>
predicate_funcs <predicate_funcs>
string_funcs <string_funcs>
struct_funcs <struct_funcs>
url_funcs <url_funcs>
window_funcs <window_funcs>