-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
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.
Thanks Shireen! Added a few changes. Let me know if this is what you had in mind :)
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 #9125
Run Properties:
|
Project |
n8n
|
Branch Review |
node-1572-summarize-node-fields-to-split-by-are-cast-to-strings
|
Run status |
Failed #9125
|
Run duration | 04m 18s |
Commit |
159b51dd3e: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 riascho 🗃️ e2e/*
|
Committer | Ria |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
1
|
Flaky |
0
|
Pending |
5
|
Skipped |
0
|
Passing |
381
|
View all changes introduced in this branch ↗︎ |
Tests for review
39-projects.cy.ts • 1 failed test
Test | Artifacts | |
---|---|---|
Projects > when starting from scratch > should move resources between projects |
Test Replay
Screenshots
Video
|
The first 5 failed specs are shown, see all 22 specs in Cypress Cloud.
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 🎉
|
5fd66ca
to
159b51d
Compare
…g a specific version (#12840) Co-authored-by: Iván Ovejero <[email protected]>
…ues in local storage (#13025) Co-authored-by: Csaba Tuncsik <[email protected]>
…using out of date inputs (#13008)
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)