Skip to main content
Ctrl+K
Apache DataFusion Comet  documentation - Home Apache DataFusion Comet  documentation - Home
  • User Guide
  • Contributor Guide
  • Changelog
  • Comparison with Gluten
  • ASF Links
  • GitHub
  • User Guide
  • Contributor Guide
  • Changelog
  • Comparison with Gluten
  • ASF Links
  • GitHub
Ctrl+K
  • User Guide
    • 0.17.0-SNAPSHOT
      • Installing Comet
      • Building From Source
      • Supported Data Sources
      • Supported Data Types
      • Supported Operators
      • Supported Expressions
      • Configuration Settings
      • Compatibility Guide
      • Understanding Comet Plans
      • Tuning Guide
      • Metrics Guide
      • Iceberg Guide
      • Kubernetes Guide
  • Contributor Guide
    • Getting Started
    • Comet Plugin Architecture
    • Plugin Components
    • Arrow FFI
    • JVM Shuffle
    • Native Shuffle
    • Development Guide
    • Debugging Guide
    • ANSI Error Propagation
    • Benchmarking Guide
      • Apache DataFusion Comet: Benchmarks Derived From TPC-H
      • Apache DataFusion Comet: Benchmarks Derived From TPC-DS
      • Comet Benchmarking on macOS
      • Comet Benchmarking in EC2
      • TPC-DS Benchmarking with spark-sql-perf
    • Adding a New Operator
    • Adding a New Expression
    • Adding a New Spark Version
    • Supported Spark Expressions
    • Supported Spark Configurations
    • Tracing
    • Profiling
    • Comet SQL Tests
    • Spark SQL Tests
    • Iceberg Spark Tests
    • Bug Triage
    • Roadmap
    • Release Process
    • Github and Issue Tracker
  • Changelog
    • DataFusion Comet 0.16.0 Changelog
    • DataFusion Comet 0.15.0 Changelog
    • DataFusion Comet 0.14.1 Changelog
    • DataFusion Comet 0.14.0 Changelog
    • DataFusion Comet 0.13.0 Changelog
    • DataFusion Comet 0.12.0 Changelog
    • DataFusion Comet 0.11.0 Changelog
    • DataFusion Comet 0.10.0 Changelog
    • DataFusion Comet 0.9.1 Changelog
    • DataFusion Comet 0.9.0 Changelog
    • DataFusion Comet 0.8.0 Changelog
    • DataFusion Comet 0.7.0 Changelog
    • DataFusion Comet 0.6.0 Changelog
    • DataFusion Comet 0.5.0 Changelog
    • DataFusion Comet 0.4.0 Changelog
    • DataFusion Comet 0.3.0 Changelog
    • DataFusion Comet 0.2.0 Changelog
    • DataFusion Comet 0.1.0 Changelog
  • Comparison with Gluten
  • ASF Links
    • Apache Software Foundation
    • License
    • Donate
    • Thanks
    • Security
    • Code of conduct
  • Comet User Guide
  • Comet 0.17.0-SNAPSHOT User Guide
  • Compatibility Guide
  • Expression Compatibility

Expression Compatibility#

Expressions that are not 100% Spark-compatible will fall back to Spark by default and can be enabled by setting spark.comet.expression.EXPRNAME.allowIncompatible=true, where EXPRNAME is the Spark expression class name. See the Comet Supported Expressions Guide for more information on this configuration setting.

Compatibility notes are grouped by expression category:

  • Aggregate Expressions
  • Array Expressions
  • Date/Time Expressions
    • Date and Time Functions
  • Map Expressions
    • MapSort (Spark 4.0+)
  • Math Expressions
  • Miscellaneous Expressions
  • String Expressions
  • Struct Expressions
  • Cast
    • ANSI Mode Fallback
    • String to Decimal
    • String to Date
    • Date to Timestamp
    • Date to TimestampNTZ
    • Date to Numeric Types
    • String to Timestamp
    • String to TimestampNTZ
    • TimestampNTZ Casts
    • Date to String
    • String to TimestampNTZ
    • Decimal with Negative Scale to String
    • Legacy Mode
    • Try Mode
    • ANSI Mode

previous

Operator Compatibility

next

Aggregate Expressions

Apache DataFusion Comet Apache DataFusion Comet
Documentation
User Guide Contributor Guide Changelog
Community
GitHub Slack & Discord Apache Software Foundation

© 2023–2026 Apache Software Foundation  ยท  Licensed under the Apache License 2.0

Apache DataFusion, Apache DataFusion Comet, the Apache feather logo, and the Apache DataFusion project logo are trademarks of The Apache Software Foundation.