-
Notifications
You must be signed in to change notification settings - Fork 11.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Summarize Node): Preserves original field data type #12999
base: master
Are you sure you want to change the base?
feat(Summarize Node): Preserves original field data type #12999
Conversation
Codecov ReportAttention: Patch coverage is
📢 Thoughts on this report? Let us know! |
@@ -287,3 +288,38 @@ export function aggregationToArray( | |||
return returnData; | |||
} | |||
} | |||
|
|||
export function aggregationToArrayWithOriginalTypes( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function is too similar to aggregationToArray, I suggest you reuse the repeated parts to avoid code duplication
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
✅ All Cypress E2E specs passed |
n8n Run #9120
Run Properties:
|
Project |
n8n
|
Branch Review |
node-1572-summarize-node-fields-to-split-by-are-cast-to-strings
|
Run status |
Passed #9120
|
Run duration | 04m 25s |
Commit |
171f364e81: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 riascho 🗃️ e2e/*
|
Committer | Ria |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
5
|
Skipped |
0
|
Passing |
433
|
View all changes introduced in this branch ↗︎ |
Summary
Previously the
Summarize Node
would convert the data type of an input value to be used for grouping into a string. This PR introduces type preservation for numeric and null values infieldToSplitBy
.v1
v1.1
Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/NODE-1572/summarize-node-fields-to-split-by-are-cast-to-strings
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)