Skip to content

SQL trait name clarification #4941

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

Merged
merged 3 commits into from
Jul 31, 2023
Merged

SQL trait name clarification #4941

merged 3 commits into from
Jul 31, 2023

Conversation

tanjinhong72
Copy link
Contributor

Proposed changes

Added the following question and answer to indicate that the name of SQL trait should not be the same name as the identifier.

"Why doesn't the identifier updated by SQL trait shows the correct value found in the column?

Ensure that the name given to the SQL trait is not the same name as the identifier or column name from the query. To use SQL trait to update the identifier, the identifier will need to be a column in the query of your SQL trait. The column name in the query of SQL trait should be the one that Identity Resolution use to generate the identifier."

Issue occurred in ticket https://segment.zendesk.com/agent/tickets/509275. Customer use an SQL trait with a name that is the same as the identifier, and resulted in Identifier with incorrect value.

Merge timing

Related issues (optional)

https://segment.zendesk.com/agent/tickets/509275

…Identifier

Added the following question and answer to indicate that the name of SQL trait should not be the same name as the identifier.

### Why doesn't the identifier updated by SQL trait shows the correct value found in the column?

Ensure that the name given to the SQL trait is not the same name as the identifier or column name from the query. To use SQL trait to update the identifier, the identifier will need to be a column in the query of your SQL trait. The column name in the query of SQL trait should be the one that Identity Resolution use to generate the identifier.
@tanjinhong72 tanjinhong72 marked this pull request as ready for review July 31, 2023 13:19
@rchinn1 rchinn1 changed the title Added information that SQL trait name should not be the same name as … SQL trait name clarification Jul 31, 2023
@rchinn1 rchinn1 merged commit 3e76932 into develop Jul 31, 2023
@rchinn1 rchinn1 deleted the tanjinhong72-patch-4 branch July 31, 2023 17:41
@github-actions
Copy link
Contributor

Thank you for your contribution! Your pull request is merged, but may take a day or two to appear on the site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants