> For the complete documentation index, see [llms.txt](https://docs.e6data.com/ingestion-engine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.e6data.com/ingestion-engine/sql/functions.md).

# Scalar functions

e6 Ingestion Engine provides a comprehensive set of built-in SQL functions powered by Apache DataFusion.

## Function Categories

* [Text Functions](/ingestion-engine/sql/functions/text.md) - String manipulation and pattern matching
* [Math Functions](/ingestion-engine/sql/functions/math.md) - Mathematical and numeric operations
* [Date & Time Functions](/ingestion-engine/sql/functions/datetime.md) - Timestamp and temporal operations
* [JSON Functions](/ingestion-engine/sql/functions/json.md) - JSON parsing and querying
* [Array Functions](/ingestion-engine/sql/functions/array.md) - Array manipulation
* [Struct Functions](/ingestion-engine/sql/functions/struct.md) - Struct field access and manipulation
* [Regex Functions](/ingestion-engine/sql/functions/regex.md) - Regular expression operations
* [Conditional Functions](/ingestion-engine/sql/functions/conditional.md) - Conditional logic and null handling
* [Hashing Functions](/ingestion-engine/sql/functions/hashing.md) - Hash computation
* [Binary String Functions](/ingestion-engine/sql/functions/binary.md) - Binary data operations
* [Other Functions](/ingestion-engine/sql/functions/other.md) - Miscellaneous functions
* [Aggregate Functions](/ingestion-engine/sql/aggregate-and-window-functions/aggregates.md) - Functions for computing over groups (SUM, AVG, COUNT, etc.)
* [Window Functions](/ingestion-engine/sql/aggregate-and-window-functions/window.md) - OVER-clause analytical functions (ROW\_NUMBER, LAG, LEAD, etc.)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.e6data.com/ingestion-engine/sql/functions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
