-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #428 from sapthasurendran/c2p
Add repo_name to code2parquet transform and injest2parquet tool
- Loading branch information
Showing
17 changed files
with
115 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-440 Bytes
(96%)
transforms/code/code2parquet/python/test-data/expected/application-java.parquet
Binary file not shown.
Binary file modified
BIN
-930 Bytes
(97%)
transforms/code/code2parquet/python/test-data/expected/data-processing-lib.parquet
Binary file not shown.
Binary file modified
BIN
-1.48 KB
(97%)
...t-data/expected/https___github.com_00000o1_environments_archive_refs_heads_master.parquet
Binary file not shown.
84 changes: 45 additions & 39 deletions
84
transforms/code/code2parquet/python/test-data/expected/metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,46 @@ | ||
{ | ||
"pipeline": "pipeline_id", | ||
"job details": { | ||
"job category": "preprocessing", | ||
"job name": "code2parquet", | ||
"job type": "pure python", | ||
"job id": "job_id", | ||
"start_time": "2024-06-26 15:55:33", | ||
"end_time": "2024-06-26 15:55:33", | ||
"status": "success" | ||
}, | ||
"code": null, | ||
"job_input_params": { | ||
"supported_langs_file": "/Users/dawood/git/data-prep-kit/transforms/code/code2parquet/python/test-data/languages/lang_extensions.json", | ||
"detect_programming_lang": true, | ||
"snapshot": "github", | ||
"domain": "code", | ||
"s3_cred": null, | ||
"checkpointing": false, | ||
"max_files": -1, | ||
"random_samples": -1, | ||
"files_to_use": [".zip"] | ||
}, | ||
"job_output_stats": { | ||
"source_files": 3, | ||
"source_size": 33885652, | ||
"result_files": 3, | ||
"result_size": 88484, | ||
"processing_time": 0.36685895919799805, | ||
"number of rows": 74 | ||
}, | ||
"source": { | ||
"name": "/Users/dawood/git/data-prep-kit/transforms/code/code2parquet/python/test-data/input", | ||
"type": "path" | ||
}, | ||
"target": { | ||
"name": "/tmp/code2parquetdbmtc8ox", | ||
"type": "path" | ||
} | ||
} | ||
"pipeline": "pipeline_id", | ||
"job details": { | ||
"job category": "preprocessing", | ||
"job name": "code2parquet", | ||
"job type": "pure python", | ||
"job id": "job_id", | ||
"start_time": "2024-07-23 20:59:16", | ||
"end_time": "2024-07-23 20:59:16", | ||
"status": "success" | ||
}, | ||
"code": { | ||
"github": "github", | ||
"commit_hash": "12345", | ||
"path": "path" | ||
}, | ||
"job_input_params": { | ||
"supported_langs_file": "/Users/sapthasurendran/Documents/GUF/data-prep-lab/data-prep-lab/transforms/code/code2parquet/ray/test-data/languages/lang_extensions.json", | ||
"detect_programming_lang": true, | ||
"snapshot": null, | ||
"domain": null, | ||
"s3_cred": null, | ||
"checkpointing": false, | ||
"max_files": -1, | ||
"random_samples": -1, | ||
"files_to_use": [ | ||
".zip" | ||
] | ||
}, | ||
"job_output_stats": { | ||
"source_files": 3, | ||
"source_size": 33885652, | ||
"result_files": 3, | ||
"result_size": 85597, | ||
"processing_time": 0.5968606472015381, | ||
"number of rows": 74 | ||
}, | ||
"source": { | ||
"name": "/Users/sapthasurendran/Documents/GUF/data-prep-lab/data-prep-lab/transforms/code/code2parquet/python/test-data/input", | ||
"type": "path" | ||
}, | ||
"target": { | ||
"name": "/Users/sapthasurendran/Documents/GUF/data-prep-lab/data-prep-lab/transforms/code/code2parquet/python/output", | ||
"type": "path" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-440 Bytes
(96%)
transforms/code/code2parquet/ray/test-data/expected/application-java.parquet
Binary file not shown.
Binary file modified
BIN
-930 Bytes
(97%)
transforms/code/code2parquet/ray/test-data/expected/data-processing-lib.parquet
Binary file not shown.
Binary file modified
BIN
-1.48 KB
(97%)
...t-data/expected/https___github.com_00000o1_environments_archive_refs_heads_master.parquet
Binary file not shown.
84 changes: 45 additions & 39 deletions
84
transforms/code/code2parquet/ray/test-data/expected/metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,46 @@ | ||
{ | ||
"pipeline": "pipeline_id", | ||
"job details": { | ||
"job category": "preprocessing", | ||
"job name": "code2parquet", | ||
"job type": "pure python", | ||
"job id": "job_id", | ||
"start_time": "2024-06-26 15:55:33", | ||
"end_time": "2024-06-26 15:55:33", | ||
"status": "success" | ||
}, | ||
"code": null, | ||
"job_input_params": { | ||
"supported_langs_file": "/Users/dawood/git/data-prep-kit/transforms/code/code2parquet/python/test-data/languages/lang_extensions.json", | ||
"detect_programming_lang": true, | ||
"snapshot": "github", | ||
"domain": "code", | ||
"s3_cred": null, | ||
"checkpointing": false, | ||
"max_files": -1, | ||
"random_samples": -1, | ||
"files_to_use": [".zip"] | ||
}, | ||
"job_output_stats": { | ||
"source_files": 3, | ||
"source_size": 33885652, | ||
"result_files": 3, | ||
"result_size": 88484, | ||
"processing_time": 0.36685895919799805, | ||
"number of rows": 74 | ||
}, | ||
"source": { | ||
"name": "/Users/dawood/git/data-prep-kit/transforms/code/code2parquet/python/test-data/input", | ||
"type": "path" | ||
}, | ||
"target": { | ||
"name": "/tmp/code2parquetdbmtc8ox", | ||
"type": "path" | ||
} | ||
} | ||
"pipeline": "pipeline_id", | ||
"job details": { | ||
"job category": "preprocessing", | ||
"job name": "code2parquet", | ||
"job type": "pure python", | ||
"job id": "job_id", | ||
"start_time": "2024-07-23 20:59:16", | ||
"end_time": "2024-07-23 20:59:16", | ||
"status": "success" | ||
}, | ||
"code": { | ||
"github": "github", | ||
"commit_hash": "12345", | ||
"path": "path" | ||
}, | ||
"job_input_params": { | ||
"supported_langs_file": "/Users/sapthasurendran/Documents/GUF/data-prep-lab/data-prep-lab/transforms/code/code2parquet/ray/test-data/languages/lang_extensions.json", | ||
"detect_programming_lang": true, | ||
"snapshot": null, | ||
"domain": null, | ||
"s3_cred": null, | ||
"checkpointing": false, | ||
"max_files": -1, | ||
"random_samples": -1, | ||
"files_to_use": [ | ||
".zip" | ||
] | ||
}, | ||
"job_output_stats": { | ||
"source_files": 3, | ||
"source_size": 33885652, | ||
"result_files": 3, | ||
"result_size": 85597, | ||
"processing_time": 0.5968606472015381, | ||
"number of rows": 74 | ||
}, | ||
"source": { | ||
"name": "/Users/sapthasurendran/Documents/GUF/data-prep-lab/data-prep-lab/transforms/code/code2parquet/python/test-data/input", | ||
"type": "path" | ||
}, | ||
"target": { | ||
"name": "/Users/sapthasurendran/Documents/GUF/data-prep-lab/data-prep-lab/transforms/code/code2parquet/python/output", | ||
"type": "path" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters