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

Usage of nested fields #18

Open
cardin opened this issue Oct 13, 2023 · 0 comments
Open

Usage of nested fields #18

cardin opened this issue Oct 13, 2023 · 0 comments

Comments

@cardin
Copy link
Contributor

cardin commented Oct 13, 2023

I've opened a pull request #17 for the usage of nested fields.

Currently es-dedupe - unintentionally - is able to receive nested fields as a timestamp. E.g. (--timestamp myfield.isotimestamp). However, attempting to use a nested field as a UID will result in KeyError in Python.

What I've done is to include python-benedict, which allows users to provide nested fields (e.g. location.postal) as a valid field, as python-benedict can use dot notation to reference a nested key.

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

No branches or pull requests

1 participant