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

Implement default mapper for SQL visibility #3875

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

rodrigozhou
Copy link
Collaborator

@rodrigozhou rodrigozhou commented Jan 31, 2023

What changed?
Updated searchattribute.MapperProvider to support the mapper from namespace config.
Created wrapper mapper to be backwards compatible with custom search attributes registered while using SQL DB.
Added integration tests using mysql8 and postgres12 plugins.

Why?
This is the default mapper when using SQL DB for advanced visibility.

How did you test it?
Existing unit tests. Needs more tests to cover new case, but postponing to another PR.

Potential risks
No.

Is hotfix candidate?
No.

@rodrigozhou rodrigozhou merged commit c257d84 into temporalio:master Feb 1, 2023
@rodrigozhou rodrigozhou deleted the sa-ns-mapper branch February 1, 2023 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants