Skip to content
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

NEOS-1692:add in transform uuid transformer #3079

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

evisdrenova
Copy link
Contributor

@evisdrenova evisdrenova commented Dec 23, 2024

This feature adds in a Transform UUID transformer. By default, it generates new UUID v4s. You can pass in a seed value to deterministically output UUIDs based on the input UUID. This is useful if you consider UUIDs to be sensitive data but want users to maintain their UUID consistency across tables/databases. So given a seed value, an input UUID will generate the same output UUID.

Demo:
https://www.loom.com/share/cc48d55850e246a488f90976b90e2b3f?sid=965d7b94-31fd-412b-93de-d90db181bde5

@evisdrenova evisdrenova added the Feature Created by Linear-GitHub Sync label Dec 23, 2024
Copy link

linear bot commented Dec 23, 2024

Copy link

vercel bot commented Dec 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
neosync-docs ⬜️ Ignored (Inspect) Visit Preview Dec 23, 2024 11:09pm

Copy link

github-actions bot commented Dec 23, 2024

The latest Buf updates on your PR. Results from workflow Buf / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedDec 23, 2024, 11:10 PM

Copy link

codecov bot commented Dec 23, 2024

Codecov Report

Attention: Patch coverage is 42.85714% with 80 lines in your changes missing coverage. Please review.

Project coverage is 34.82%. Comparing base (d5843a9) to head (4af38e3).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...ker/pkg/benthos/transformers/gen_transform_uuid.go 16.27% 35 Missing and 1 partial ⚠️
worker/pkg/benthos/transformers/transform_uuid.go 62.85% 17 Missing and 9 partials ⚠️
backend/sql/postgresql/models/transformers.go 0.00% 8 Missing ⚠️
...nal/benthos/benthos-builder/builders/processors.go 0.00% 6 Missing ⚠️
...kg/benthos/transformers/transformer_initializer.go 75.00% 2 Missing and 1 partial ⚠️
...g/benthos/transformers/gen_neosync_transformers.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3079      +/-   ##
==========================================
+ Coverage   34.79%   34.82%   +0.03%     
==========================================
  Files         350      352       +2     
  Lines       40761    40901     +140     
==========================================
+ Hits        14181    14244      +63     
- Misses      24888    24955      +67     
- Partials     1692     1702      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant