diff --git a/docs/en/sql-reference/20-sql-functions/01-bitmap-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/01-bitmap-functions/_category_.json index 721194f31b..5f03b88c3e 100644 --- a/docs/en/sql-reference/20-sql-functions/01-bitmap-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/01-bitmap-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "Bitmap Functions", - "position": 15 -} \ No newline at end of file + "position": 16 +} diff --git a/docs/en/sql-reference/20-sql-functions/05-interval-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/05-interval-functions/_category_.json index 66dbf2522b..f4c9b10631 100644 --- a/docs/en/sql-reference/20-sql-functions/05-interval-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/05-interval-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "Interval Functions", - "position": 23 -} \ No newline at end of file + "position": 19 +} diff --git a/docs/en/sql-reference/20-sql-functions/09-geospatial-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/09-geospatial-functions/_category_.json index 2ceb4935f9..2424974cba 100644 --- a/docs/en/sql-reference/20-sql-functions/09-geospatial-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/09-geospatial-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "Geospatial Functions", - "position": 16 + "position": 11 } diff --git a/docs/en/sql-reference/20-sql-functions/10-search-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/10-search-functions/_category_.json index a7b0e51974..a8c724dcaa 100644 --- a/docs/en/sql-reference/20-sql-functions/10-search-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/10-search-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "Full-Text Search Functions", - "position": 22 -} \ No newline at end of file + "position": 9 +} diff --git a/docs/en/sql-reference/20-sql-functions/10-semi-structured-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/10-semi-structured-functions/_category_.json index ad1957d297..0fce24a0e0 100644 --- a/docs/en/sql-reference/20-sql-functions/10-semi-structured-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/10-semi-structured-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "Structured & Semi-Structured", - "position": 9 -} \ No newline at end of file + "position": 8 +} diff --git a/docs/en/sql-reference/20-sql-functions/11-vector-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/11-vector-functions/_category_.json index 9c80bfe2c8..31a53665f1 100644 --- a/docs/en/sql-reference/20-sql-functions/11-vector-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/11-vector-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "Vector Functions", - "position": 21 -} \ No newline at end of file + "position": 10 +} diff --git a/docs/en/sql-reference/20-sql-functions/12-hash-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/12-hash-functions/_category_.json index fc8c88d0d7..30086546fe 100644 --- a/docs/en/sql-reference/20-sql-functions/12-hash-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/12-hash-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "Hash Functions", - "position": 14 -} \ No newline at end of file + "position": 15 +} diff --git a/docs/en/sql-reference/20-sql-functions/13-uuid-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/13-uuid-functions/_category_.json index 4a33aa815e..758c5b8ba3 100644 --- a/docs/en/sql-reference/20-sql-functions/13-uuid-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/13-uuid-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "UUID Functions", - "position": 18 -} \ No newline at end of file + "position": 17 +} diff --git a/docs/en/sql-reference/20-sql-functions/14-ip-address-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/14-ip-address-functions/_category_.json index 5bc8411bdd..2e2a144afe 100644 --- a/docs/en/sql-reference/20-sql-functions/14-ip-address-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/14-ip-address-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "IP Address Functions", - "position": 19 -} \ No newline at end of file + "position": 18 +} diff --git a/docs/en/sql-reference/20-sql-functions/15-context-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/15-context-functions/_category_.json index 40f6b3c100..e684d8b5ff 100644 --- a/docs/en/sql-reference/20-sql-functions/15-context-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/15-context-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "Context Functions", - "position": 13 -} \ No newline at end of file + "position": 14 +} diff --git a/docs/en/sql-reference/20-sql-functions/16-system-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/16-system-functions/_category_.json index cc2bae77a8..6d6b48c80c 100644 --- a/docs/en/sql-reference/20-sql-functions/16-system-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/16-system-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "System Functions", - "position": 12 -} \ No newline at end of file + "position": 13 +} diff --git a/docs/en/sql-reference/20-sql-functions/17-table-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/17-table-functions/_category_.json index 215abfc82d..f7e443bb06 100644 --- a/docs/en/sql-reference/20-sql-functions/17-table-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/17-table-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "Table Functions", - "position": 10 -} \ No newline at end of file + "position": 12 +} diff --git a/docs/en/sql-reference/20-sql-functions/18-sequence-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/18-sequence-functions/_category_.json index 4dae4d2a72..f699125027 100644 --- a/docs/en/sql-reference/20-sql-functions/18-sequence-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/18-sequence-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "Sequence Functions", - "position": 24 -} \ No newline at end of file + "position": 20 +} diff --git a/docs/en/sql-reference/20-sql-functions/19-dictionary-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/19-dictionary-functions/_category_.json index ffdc97adc5..95e19badd8 100644 --- a/docs/en/sql-reference/20-sql-functions/19-dictionary-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/19-dictionary-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "Dictionary Functions", - "position": 25 -} \ No newline at end of file + "position": 21 +} diff --git a/docs/en/sql-reference/20-sql-functions/19-test-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/19-test-functions/_category_.json index 6d19e7ef02..4a815e5775 100644 --- a/docs/en/sql-reference/20-sql-functions/19-test-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/19-test-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "Test Functions", - "position": 26 -} \ No newline at end of file + "position": 22 +} diff --git a/docs/en/sql-reference/20-sql-functions/20-other-functions/_category_.json b/docs/en/sql-reference/20-sql-functions/20-other-functions/_category_.json index 368ddb67af..cc5659ec21 100644 --- a/docs/en/sql-reference/20-sql-functions/20-other-functions/_category_.json +++ b/docs/en/sql-reference/20-sql-functions/20-other-functions/_category_.json @@ -1,4 +1,4 @@ { "label": "Other Functions", - "position": 27 -} \ No newline at end of file + "position": 23 +} diff --git a/docs/en/sql-reference/20-sql-functions/20-other-functions/index.md b/docs/en/sql-reference/20-sql-functions/20-other-functions/index.md new file mode 100644 index 0000000000..9e83d8bc5b --- /dev/null +++ b/docs/en/sql-reference/20-sql-functions/20-other-functions/index.md @@ -0,0 +1,16 @@ +--- +title: Other Functions +--- + +This section collects assorted utilities that do not fit into the major functional groups. + +| Function | Description | +|----------|-------------| +| [ASSUME_NOT_NULL](assume-not-null.md) | Hint that values in a nullable column are never NULL | +| [EXISTS](exists.md) | Return TRUE if a subquery produces any rows | +| [GROUPING](grouping.md) | Reveal whether an output column was aggregated in GROUPING SETS | +| [HUMANIZE_NUMBER](humanize-number.md) | Format large numbers with unit suffixes | +| [HUMANIZE_SIZE](humanize-size.md) | Format byte counts into readable units | +| [REMOVE_NULLABLE](remove-nullable.md) | Strip NULLability from a column value | +| [TO_NULLABLE](to-nullable.md) | Convert a value to a nullable type | +| [TYPEOF](typeof.md) | Return the name of a value’s data type | diff --git a/docs/en/sql-reference/20-sql-functions/index.md b/docs/en/sql-reference/20-sql-functions/index.md index b546f7b36b..36491d9da2 100644 --- a/docs/en/sql-reference/20-sql-functions/index.md +++ b/docs/en/sql-reference/20-sql-functions/index.md @@ -11,7 +11,6 @@ Databend provides comprehensive SQL functions for all types of data processing. | [Numeric Functions](./04-numeric-functions/index.md) | Mathematical operations and calculations | | [String Functions](./06-string-functions/index.md) | Text manipulation and string processing | | [Date & Time Functions](./05-datetime-functions/index.md) | Date, time, and temporal operations | -| [Interval Functions](./05-interval-functions/index.md) | Time unit conversion and interval creation | | [Conversion Functions](./02-conversion-functions/index.md) | Type casting and data format conversions | | [Conditional Functions](./03-conditional-functions/index.md) | Logic and control flow operations | @@ -21,52 +20,54 @@ Databend provides comprehensive SQL functions for all types of data processing. |----------|-------------| | [Aggregate Functions](./07-aggregate-functions/index.md) | Statistical calculations across multiple rows | | [Window Functions](./08-window-functions/index.md) | Advanced analytics with window operations | -| [Bitmap Functions](./01-bitmap-functions/index.md) | High-performance bitmap operations and analytics | -## Semi-Structured Data +## Structured & Semi-Structured Data | Category | Description | |----------|-------------| -| [Semi-Structured Functions](./10-semi-structured-functions/index.md) | JSON, arrays, objects, and nested data processing | +| [Structured & Semi-Structured Functions](./10-semi-structured-functions/index.md) | JSON, arrays, objects, and nested data processing | -## AI & Search +## Search Functions | Category | Description | |----------|-------------| -| [Vector Functions](./11-vector-functions/index.md) | Vector similarity and distance calculations | -| [Search Functions](./10-search-functions/index.md) | Full-text search and relevance scoring | +| [Full-Text Search Functions](./10-search-functions/index.md) | Full-text search and relevance scoring | -## Data Management +## Vector Functions | Category | Description | |----------|-------------| -| [Table Functions](./17-table-functions/index.md) | File inspection, data generation, and system information | -| [Dictionary Functions](./19-dictionary-functions/index.md) | Real-time external data source queries (MySQL, Redis) | -| [Sequence Functions](./18-sequence-functions/index.md) | Auto-incrementing sequence value generation | +| [Vector Functions](./11-vector-functions/index.md) | Vector similarity and distance calculations | -## Spatial Functions +## Geospatial Functions | Category | Description | |----------|-------------| | [Geospatial Functions](./09-geospatial-functions/index.md) | Geometry, GeoHash, and H3 spatial operations | -## Security & Integrity +## Data Management | Category | Description | |----------|-------------| -| [Hash Functions](./12-hash-functions/index.md) | Data hashing and integrity verification | -| [UUID Functions](./13-uuid-functions/index.md) | Universally unique identifier generation | -| [IP Address Functions](./14-ip-address-functions/index.md) | Network address manipulation and validation | +| [Table Functions](./17-table-functions/index.md) | File inspection, data generation, and system information | +| [System Functions](./16-system-functions/index.md) | System information and management operations | +| [Context Functions](./15-context-functions/index.md) | Current session, user, and database information | -## System Functions +## Security & Integrity | Category | Description | |----------|-------------| -| [System Functions](./16-system-functions/index.md) | System information and management operations | -| [Context Functions](./15-context-functions/index.md) | Current session, user, and database information | +| [Hash Functions](./12-hash-functions/index.md) | Data hashing and integrity verification | +| [Bitmap Functions](./01-bitmap-functions/index.md) | High-performance bitmap operations and analytics | +| [UUID Functions](./13-uuid-functions/index.md) | Universally unique identifier generation | +| [IP Address Functions](./14-ip-address-functions/index.md) | Network address manipulation and validation | -## Development Tools +## Utility Functions | Category | Description | |----------|-------------| +| [Interval Functions](./05-interval-functions/index.md) | Time unit conversion and interval creation | +| [Sequence Functions](./18-sequence-functions/index.md) | Auto-incrementing sequence value generation | +| [Dictionary Functions](./19-dictionary-functions/index.md) | Real-time external data source queries (MySQL, Redis) | | [Test Functions](./19-test-functions/index.md) | Testing and debugging utilities | +| [Other Functions](./20-other-functions/index.md) | Miscellaneous helpers and utilities |