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

Optimising Data Cleaning for files used for GBIF downloads #1077

Open
fmendezh opened this issue Jun 27, 2024 · 0 comments
Open

Optimising Data Cleaning for files used for GBIF downloads #1077

fmendezh opened this issue Jun 27, 2024 · 0 comments
Assignees

Comments

@fmendezh
Copy link
Contributor

Multiple data cleaning routines are currently applied during the production of occurrence downloads. These routines can be moved to an earlier stage when the HDFS View files are created. This change could reduce the total time needed to produce downloads and also facilitate incremental table builds.
The routines that can be applied are encapsulated as Spark UDFs in the occurrence-table-build-spark project. The fields to which these routines are applied are controlled by the HiveQueries utility class.
Additionally, all verbatim fields are initialized by cleaning delimiters in the OccurrenceHDFSTableDefinition.verbatimField(Term term) method, and String values are also initialized in the OccurrenceHDFSTableDefinition.interpretedField(Term term) method.

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

2 participants