Skip to content

Conversation

wraymo
Copy link
Member

@wraymo wraymo commented Feb 15, 2024

References

Description

This PR introduces the ability to specify tags while compressing files. The resulting compressed archive can now include zero to multiple tags. Users can filter archives during searches using tags.

Validation performed

  • Built the package
  • Started the package with clp engine, compressed hive-24hrs dataset twice with different tags tag1 and tag2.
  • Executed the query org.apache.hadoop.metrics2.impl.MetricsConfig: loaded properties from hadoop-metrics2.properties in three ways. 1) with tag1, 2) with tag2 3) without tags. Results showed 1) and 2) returned equal amount of logs while 3) returned twice the amount of logs.
  • Started the package with clp-s engine, compressed mongodb dataset with different tags tag1 and tag2.
  • Executed the query id: 22419 in three ways. 1) with tag1, 2) with tag2 3) without tags. Results showed 1) and 2) returned equal amount of logs while 3) returned twice the amount of logs.

Copy link
Member

@kirkrodrigues kirkrodrigues left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some inline comments. I'm also wondering if we should restrict the tags to not containing whitespace and being lowercase in order to simplify querying them.

@wraymo
Copy link
Member Author

wraymo commented Feb 21, 2024

Some inline comments. I'm also wondering if we should restrict the tags to not containing whitespace and being lowercase in order to simplify querying them.

Yeah, i think we should restrict the tags to not containing whitespace.

@wraymo wraymo requested a review from kirkrodrigues February 22, 2024 19:21
@wraymo wraymo requested a review from kirkrodrigues February 23, 2024 17:28
@wraymo wraymo requested a review from kirkrodrigues February 26, 2024 21:24
Copy link
Member

@kirkrodrigues kirkrodrigues left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commit msg: Add support for tagging archives and filtering by tags. (#285)?

@wraymo wraymo merged commit 89333e3 into y-scope:main Feb 27, 2024
@wraymo wraymo changed the title Add support for tagging archives and filtering archives by tags Add support for tagging archives and filtering by tags. Feb 27, 2024
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