Skip to content

Commit 6d17959

Browse files
authored
Added String Agg function (#1389)
1 parent a4dfc99 commit 6d17959

File tree

24 files changed

+167
-24
lines changed

24 files changed

+167
-24
lines changed

documentation/components/core/aggregations.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Aggregations
22

3-
- [⬅️️ Back](group-by.md)
3+
- [⬅️️ Back](/documentation/components/core/group-by.md)
44

55
Each group created by `groupBy` function can be aggregated using one of the aggregation functions.
66

@@ -13,8 +13,9 @@ Each group created by `groupBy` function can be aggregated using one of the aggr
1313
- [`MAX()`](/src/core/etl/src/Flow/ETL/Function/Max.php)
1414
- [`COLLECT()`](/src/core/etl/src/Flow/ETL/Function/Collect.php)
1515
- [`COLLECT_UNIQUE()`](/src/core/etl/src/Flow/ETL/Function/CollectUnique.php)
16-
- [`FIRST`](/src/core/etl/src/Flow/ETL/Function/First.php)
17-
- [`LAST`](/src/core/etl/src/Flow/ETL/Function/Last.php)
16+
- [`FIRST()`](/src/core/etl/src/Flow/ETL/Function/First.php)
17+
- [`LAST()`](/src/core/etl/src/Flow/ETL/Function/Last.php)
18+
- [`STRIRNG_AGG()`](/src/core/etl/src/Flow/ETL/Function/StringAggregate.php)
1819

1920
All aggregation functions are implementing [`AggregatingFunction`](/src/core/etl/src/Flow/ETL/Function/AggregatingFunction.php) interface.
2021

documentation/components/core/building-blocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Building Blocks
22

3-
- [⬅️️ Back](core.md)
3+
- [⬅️️ Back](/documentation/components/core/core.md)
44

55
Entries are the columns of the data frame, they are represented by the [Entry](/src/core/etl/src/Flow/ETL/Row/Entry.php) interface.
66
Group of Entries is called `Row`, it is represented by the [Row](/src/core/etl/src/Flow/ETL/Row.php) class.

documentation/components/core/caching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Caching
22

3-
- [⬅️️ Back](core.md)
3+
- [⬅️️ Back](/documentation/components/core/core.md)
44

55
## Cache
66

documentation/components/core/core.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Data Frame
22

3-
- [⬅️️ Back](../../quick-start.md)
3+
- [⬅️️ Back](/documentation/quick-start.md)
44

55
A Data Frame is a structured collection of tabular data, similar to a spreadsheet.
66
It organizes information into rows and columns, making it easy to understand, filter, and transform.

documentation/components/core/display.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Display
22

3-
- [⬅️️ Back](core.md)
3+
- [⬅️️ Back](/documentation/components/core/core.md)
44

55
Displaying/printing data frame is a common operation during development.
66
It's the easiest way to debug data frame.

documentation/components/core/error-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Error Handling
22

3-
- [⬅️️ Back](core.md)
3+
- [⬅️️ Back](/documentation/components/core/core.md)
44

55
In case of any exception in transform/load steps, an ETL process will break,
66
to change that behavior, please set custom [ErrorHandler](/src/core/etl/src/Flow/ETL/ErrorHandler.php).

documentation/components/core/filter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Filter
22

3-
- [⬅️️ Back](core.md)
3+
- [⬅️️ Back](/documentation/components/core/core.md)
44

55
To filter rows from the data frame you can use `DataFrame::filter` function.
66
Filter function accepts only one argument which is a `ScalarFunction` that returns `bool` value.

documentation/components/core/group-by.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Group By
22

3-
- [⬅️️ Back](core.md)
3+
- [⬅️️ Back](/documentation/components/core/core.md)
44

55
Grouping is a common operation in data analysis. The concept is no different from the one you know from SQL.
66

documentation/components/core/join.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Join
22

3-
- [⬅️️ Back](core.md)
3+
- [⬅️️ Back](/documentation/components/core/core.md)
44

55
Joining two data frames is a common operation in data processing.
66
It is used to combine data from two different sources into one data frame.

documentation/components/core/limit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Limit
22

3-
- [⬅️️ Back](core.md)
3+
- [⬅️️ Back](/documentation/components/core/core.md)
44

55
Sometimes you might just want to process only few first rows, maybe for debugging purpose or you don't want to go above certain number of rows.
66

0 commit comments

Comments
 (0)