Skip to content

Commit 4461468

Browse files
committed
add info on WAE
1 parent ab68a76 commit 4461468

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed
Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
11
---
22
title: Workers Analytics Engine now supports additional SQL functions
3-
description: Workers Analytics Engine now supports additional SQL functions including mathematical operations, advanced string manipulation, and improved documentation structure.
4-
date: 2025-09-26
3+
description: Workers Analytics Engine now supports additional SQL functions including new mathematical operations, aggregate functions, and bit functions!
4+
date: 2025-10-02
55
products:
66
- workers-analytics-engine
77
---
8+
You can now perform more powerful queries directly in [Workers Analytics Engine](https://developers.cloudflare.com/analytics/analytics-engine/) with a major expansion of our SQL function library.
89

9-
We've expanded the SQL capabilities of Workers Analytics Engine with several new functions:
10+
Workers Analytics Engine allows you to ingest and store high-cardinality data at scale (such as usage-based billing data per customer) and query your data through a simple SQL API.
1011

11-
**New aggregate functions:**
12+
Today, we've expanded Workers Analytics Engine's SQL capabilities with several new functions:
13+
14+
[**New aggregate functions:**](https://developers.cloudflare.com/analytics/analytics-engine/sql-reference/aggregate-functions/)
1215
- `argMin()` - Returns the value associated with the minimum in a group
1316
- `argMax()` - Returns the value associated with the maximum in a group
1417
- `topK()` - Returns an array of the most frequent values in a group
1518
- `topKWeighted()` - Returns an array of the most frequent values in a group using weights
16-
17-
**New window functions:**
1819
- `first_value()` - Returns the first value in an ordered set of values within a partition
1920
- `last_value()` - Returns the last value in an ordered set of values within a partition
2021

21-
**New bit functions:**
22+
[**New bit functions:**](https://developers.cloudflare.com/analytics/analytics-engine/sql-reference/bit-functions/)
2223
- `bitAnd()` - Returns the bitwise AND of two expressions
2324
- `bitCount()` - Returns the number of bits set to one in the binary representation of a number
2425
- `bitHammingDistance()` - Returns the number of bits that differ between two numbers
@@ -31,23 +32,25 @@ We've expanded the SQL capabilities of Workers Analytics Engine with several new
3132
- `bitTest()` - Returns the value of a specific bit in a number
3233
- `bitXor()` - Returns the bitwise exclusive-or of two expressions
3334

34-
**New mathematical functions:**
35+
[**New mathematical functions:**](https://developers.cloudflare.com/analytics/analytics-engine/sql-reference/mathematical-functions/)
3536
- `abs()` - Returns the absolute value of a number
3637
- `log()` - Computes the natural logarithm of a number
3738
- `round()` - Rounds a number to a specified number of decimal places
3839
- `ceil()` - Rounds a number up to the nearest integer
3940
- `floor()` - Rounds a number down to the nearest integer
4041
- `pow()` - Returns a number raised to the power of another number
4142

42-
**New string functions:**
43+
[**New string functions:**](https://developers.cloudflare.com/analytics/analytics-engine/sql-reference/string-functions/)
4344
- `lowerUTF8()` - Converts a string to lowercase using UTF-8 encoding
4445
- `upperUTF8()` - Converts a string to uppercase using UTF-8 encoding
4546

46-
**New encoding functions:**
47+
[**New encoding functions:**](https://developers.cloudflare.com/analytics/analytics-engine/sql-reference/encoding-functions/)
4748
- `hex()` - Converts a number to its hexadecimal representation
4849
- `bin()` - Converts a string to its binary representation
4950

50-
**New type conversion functions:**
51+
[**New type conversion functions:**](https://developers.cloudflare.com/analytics/analytics-engine/sql-reference/type-conversion-functions/)
5152
- `toUInt8()` - Converts any numeric expression, or expression resulting in a string representation of a decimal, into an unsigned 8 bit integer
5253

53-
To get started, checkout out our docs to read more on newly added and existing [Workers Analytics Engine SQL functions](/analytics/analytics-engine/sql-reference/).
54+
55+
## Ready to get started?
56+
Whether you're building usage-based billing systems, customer analytics dashboards, or other custom metrics, these additions provide the functions you need to get the most out of your data. [Get started ](/analytics/analytics-engine/get-started/) with Workers Analytics Engine and explore all available functions in our [SQL reference documentation](/analytics/analytics-engine/sql-reference/).

0 commit comments

Comments
 (0)