|
2 | 2 | title: SQL Function Reference
|
3 | 3 | ---
|
4 | 4 |
|
5 |
| -This page provides a reference for all SQL functions available in Databend, organized by category. |
| 5 | +Databend provides comprehensive SQL functions for all types of data processing. Functions are organized by importance and usage frequency. |
6 | 6 |
|
7 |
| -## Core SQL Functions |
| 7 | +## Core Data Functions |
8 | 8 |
|
9 | 9 | | Category | Description |
|
10 | 10 | |----------|-------------|
|
11 |
| -| [Numeric Functions](./04-numeric-functions/index.md) | Mathematical operations for numerical data processing and analysis | |
12 |
| -| [String Functions](./06-string-functions/index.md) | Text manipulation and pattern matching operations for data processing | |
13 |
| -| [Date & Time Functions](./05-datetime-functions/index.md) | Date and time manipulation for temporal data analysis | |
14 |
| -| [Aggregate Functions](./07-aggregate-functions/index.md) | Functions that perform calculations across multiple rows | |
15 |
| -| [Window Functions](./08-window-functions/index.md) | Functions that operate on a set of rows related to the current row | |
| 11 | +| [Numeric Functions](./04-numeric-functions/index.md) | Mathematical operations and calculations | |
| 12 | +| [String Functions](./06-string-functions/index.md) | Text manipulation and string processing | |
| 13 | +| [Date & Time Functions](./05-datetime-functions/index.md) | Date, time, and temporal operations | |
| 14 | +| [Interval Functions](./05-interval-functions/index.md) | Time unit conversion and interval creation | |
| 15 | +| [Conversion Functions](./02-conversion-functions/index.md) | Type casting and data format conversions | |
| 16 | +| [Conditional Functions](./03-conditional-functions/index.md) | Logic and control flow operations | |
16 | 17 |
|
17 |
| -## Data Type Functions |
| 18 | +## Analytics Functions |
18 | 19 |
|
19 | 20 | | Category | Description |
|
20 | 21 | |----------|-------------|
|
21 |
| -| [Conversion Functions](./02-conversion-functions/index.md) | Type conversion and casting operations between different data types | |
22 |
| -| [Structured & Semi-Structured Functions](./10-semi-structured-functions/index.md) | Functions for processing JSON, arrays, objects, maps, and other structured data types | |
| 22 | +| [Aggregate Functions](./07-aggregate-functions/index.md) | Statistical calculations across multiple rows | |
| 23 | +| [Window Functions](./08-window-functions/index.md) | Advanced analytics with window operations | |
| 24 | +| [Bitmap Functions](./01-bitmap-functions/index.md) | High-performance bitmap operations and analytics | |
23 | 25 |
|
24 |
| -## Logical and Control Functions |
| 26 | +## Semi-Structured Data |
25 | 27 |
|
26 | 28 | | Category | Description |
|
27 | 29 | |----------|-------------|
|
28 |
| -| [Conditional Functions](./03-conditional-functions/index.md) | Logic-based data transformation and flow control functions | |
29 |
| -| [Interval Functions](./05-interval-functions/index.md) | Creation and manipulation of time intervals for date calculations | |
| 30 | +| [Semi-Structured Functions](./10-semi-structured-functions/index.md) | JSON, arrays, objects, and nested data processing | |
30 | 31 |
|
31 |
| -## System and Metadata Functions |
| 32 | +## AI & Search |
32 | 33 |
|
33 | 34 | | Category | Description |
|
34 | 35 | |----------|-------------|
|
35 |
| -| [Table Functions](./17-table-functions/index.md) | Functions that return result sets as tables | |
36 |
| -| [System Functions](./16-system-functions/index.md) | Functions for accessing system information and management | |
37 |
| -| [Context Functions](./15-context-functions/index.md) | Functions for accessing session and environment information | |
| 36 | +| [AI Functions](./11-ai-functions/index.md) | Natural language processing and AI capabilities | |
| 37 | +| [Vector Functions](./11-vector-functions/index.md) | Vector similarity and distance calculations | |
| 38 | +| [Search Functions](./10-search-functions/index.md) | Full-text search and relevance scoring | |
38 | 39 |
|
39 |
| -## Specialized Analytics Functions |
| 40 | +## Data Management |
40 | 41 |
|
41 | 42 | | Category | Description |
|
42 | 43 | |----------|-------------|
|
43 |
| -| [Geo Functions](./09-geo-functions/index.md) | Geographic coordinate and H3 geospatial operations | |
44 |
| -| [Geometry Functions](./09-geometry-functions/index.md) | Geometric shape operations and spatial calculations | |
45 |
| -| [Search Functions](./10-search-functions/index.md) | Full-text search capabilities and text relevance | |
| 44 | +| [Table Functions](./17-table-functions/index.md) | File inspection, data generation, and system information | |
| 45 | +| [Dictionary Functions](./19-dictionary-functions/index.md) | Real-time external data source queries (MySQL, Redis) | |
| 46 | +| [Sequence Functions](./18-sequence-functions/index.md) | Auto-incrementing sequence value generation | |
46 | 47 |
|
47 |
| -## AI and Vector Functions |
| 48 | +## Spatial Functions |
48 | 49 |
|
49 | 50 | | Category | Description |
|
50 | 51 | |----------|-------------|
|
51 |
| -| [AI Functions](./11-ai-functions/index.md) | Natural language processing and AI capabilities | |
52 |
| -| [Vector Functions](./11-vector-functions/index.md) | Vector similarity and distance calculations | |
| 52 | +| [Geo Functions](./09-geo-functions/index.md) | Geographic coordinates and H3 geospatial operations | |
| 53 | +| [Geometry Functions](./09-geometry-functions/index.md) | Geometric shapes and spatial calculations | |
| 54 | + |
| 55 | +## Security & Integrity |
| 56 | + |
| 57 | +| Category | Description | |
| 58 | +|----------|-------------| |
| 59 | +| [Hash Functions](./12-hash-functions/index.md) | Data hashing and integrity verification | |
| 60 | +| [UUID Functions](./13-uuid-functions/index.md) | Universally unique identifier generation | |
| 61 | +| [IP Address Functions](./14-ip-address-functions/index.md) | Network address manipulation and validation | |
53 | 62 |
|
54 |
| -## Data Integrity Functions |
| 63 | +## System Functions |
55 | 64 |
|
56 | 65 | | Category | Description |
|
57 | 66 | |----------|-------------|
|
58 |
| -| [Hash Functions](./12-hash-functions/index.md) | Data hashing and fingerprinting algorithms | |
59 |
| -| [UUID Functions](./13-uuid-functions/index.md) | Universally unique identifier generation and handling | |
60 |
| -| [IP Address Functions](./14-ip-address-functions/index.md) | IP address manipulation and conversion | |
61 |
| -| [Bitmap Functions](./01-bitmap-functions/index.md) | Bit-level operations and manipulations | |
| 67 | +| [System Functions](./16-system-functions/index.md) | System information and management operations | |
| 68 | +| [Context Functions](./15-context-functions/index.md) | Current session, user, and database information | |
62 | 69 |
|
63 |
| -## Utility Functions |
| 70 | +## Development Tools |
64 | 71 |
|
65 | 72 | | Category | Description |
|
66 | 73 | |----------|-------------|
|
67 |
| -| [Sequence Functions](./18-sequence-functions/index.md) | Sequence generation and manipulation | |
68 |
| -| [Dictionary Functions](./19-dictionary-functions/index.md) | External data source integration | |
69 |
| -| [Test Functions](./19-test-functions/index.md) | Functions for testing and development purposes | |
| 74 | +| [Test Functions](./19-test-functions/index.md) | Testing and debugging utilities | |
0 commit comments