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

Initial version of profiler #269

Merged
merged 18 commits into from
Jun 18, 2024
Merged

Initial version of profiler #269

merged 18 commits into from
Jun 18, 2024

Conversation

blublinsky
Copy link
Collaborator

Why are these changes needed?

New transform

Related issue number (if any).

https://github.ibm.com/ai-models-data/data-prep-kit-inner/issues/84

@blublinsky blublinsky marked this pull request as draft June 12, 2024 19:58
@blublinsky blublinsky added the enhancement New feature or request label Jun 13, 2024
@blublinsky blublinsky marked this pull request as ready for review June 13, 2024 13:03
Copy link
Member

@daw3rd daw3rd left a comment

Choose a reason for hiding this comment

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

I also think this should be renamed to profiler. aggregation is not what it is doing.

transforms/universal/aggregator/ray/images/exactdedup.png Outdated Show resolved Hide resolved
Copy link
Member

Choose a reason for hiding this comment

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

Maybe there should be 2 test files so aggregation is done across multiple calls to transform()

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

1 is good enough

@blublinsky
Copy link
Collaborator Author

@daw3rd one of the larger issues I am getting with this is testing. Because I am:

  1. output csv files that we are not currently supporting in test framework
  2. file names are not fixed. The latter we have also have an issue https://github.ibm.com/ai-models-data/data-prep-kit-inner/issues/82, which asks for a timestamp for metadata

@daw3rd
Copy link
Member

daw3rd commented Jun 13, 2024

@daw3rd one of the larger issues I am getting with this is testing. Because I am:

1. output csv files that we are not currently supporting in test framework

2. file names are not fixed. The latter we have also have an issue https://github.ibm.com/ai-models-data/data-prep-kit-inner/issues/82, which asks for a timestamp for metadata

Maybe promoting the methods added in spark (highlighted below) to the super class and using them somehow in the super class would do it. Then for this transform, you override _validate_metadata() or use some other mechanism to get any metadata file. Similar override of the unhighlighted method could be done for the csv file?

image

@blublinsky
Copy link
Collaborator Author

profiler

done

@blublinsky blublinsky changed the title Initial version of aggregator Initial version of profiler Jun 13, 2024
@blublinsky blublinsky merged commit e21a6ab into dev Jun 18, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants