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

renaming of ingest_2_parquet #316

Merged
merged 5 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .make.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,9 @@ __check_defined = \
$(MAKE) PIP_TARGET=data-prep-toolkit-spark .defaults.pip-uninstall; \
$(MAKE) PYTHON_PROJECT_DIR=$(DPK_PYTHON_LIB_DIR) .defaults.install-src-venv; \
$(MAKE) PYTHON_PROJECT_DIR=$(DPK_SPARK_LIB_DIR) .defaults.install-src-venv; \
if [ -d ../python ]; then \
$(MAKE) PYTHON_PROJECT_DIR=../python .defaults.install-src-venv; \
fi
echo Installed source from Spark processing library for `which $(PYTHON)`

# Run tests in test directory from that dir after adding ../src to PYTHONPATH
Expand Down
7 changes: 6 additions & 1 deletion .make.versions
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ PROGLANG_SELECT_RAY_VERSION=0.4.0$(RELEASE_VERSION_SUFFIX)

CODE_QUALITY_RAY_VERSION=0.4.0$(RELEASE_VERSION_SUFFIX)

INGEST_TO_PARQUET_RAY_VERSION=0.4.0$(RELEASE_VERSION_SUFFIX)
INPUT_CODE_TO_PARQUET_PYTHON_VERSION=0.4.0$(RELEASE_VERSION_SUFFIX)
INPUT_CODE_TO_PARQUET_RAY_VERSION=0.4.0$(RELEASE_VERSION_SUFFIX)




INGEST_TO_PARQUET_VERSION=0.4.0$(RELEASE_VERSION_SUFFIX)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from data_processing.transform.abstract_transform import AbstractTransform
from data_processing.transform.binary_transform import AbstractBinaryTransform
from data_processing.transform.table_transform import AbstractTableTransform
from data_processing.transform.transform_statistics import TransformStatistics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
from argparse import ArgumentParser
from typing import Any

from data_processing.transform import AbstractBinaryTransform
from data_processing.transform.abstract_transform import AbstractTransform
from data_processing.transform import AbstractTransform
from data_processing.utils import CLIArgumentProvider


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ def orchestrate(
"job_input_params": runtime_config.get_transform_metadata()
| data_access_factory.get_input_params()
| preprocessing_params.get_input_params(),
"execution_stats": resources | {"execution time, min": (time.time() - start_time)/60, },
"execution_stats": resources
| {
"execution time, min": (time.time() - start_time) / 60,
},
"job_output_stats": stats,
}
logger.debug(f"Saving job metadata: {metadata}.")
Expand Down
4 changes: 2 additions & 2 deletions scripts/kind/populate_minio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ mc mb kfp/test
echo "copying data"
# code modules
mc cp --recursive ${REPOROOT}/transforms/code/code_quality/ray/test-data/input/ kfp/test/code_quality/input
mc cp --recursive ${REPOROOT}/transforms/code/ingest_2_parquet/ray/test-data/input/data-processing-lib.zip kfp/test/ingest_2_parquet/input
mc cp --recursive ${REPOROOT}/transforms/code/ingest_2_parquet/ray/test-data/languages/ kfp/test/ingest_2_parquet/languages
mc cp --recursive ${REPOROOT}/transforms/code/inputcode2parquet/ray/test-data/input/data-processing-lib.zip kfp/test/inputcode2parquet/input
mc cp --recursive ${REPOROOT}/transforms/code/inputcode2parquet/ray/test-data/languages/ kfp/test/inputcode2parquet/languages
mc cp --recursive ${REPOROOT}/transforms/code/proglang_select/ray/test-data/input/ kfp/test/proglang_select/input
mc cp --recursive ${REPOROOT}/transforms/code/proglang_select/ray/test-data/languages/ kfp/test/proglang_select/languages
mc cp --recursive ${REPOROOT}/transforms/code/malware/ray/test-data/input/ kfp/test/malware/input
Expand Down
61 changes: 0 additions & 61 deletions transforms/code/ingest_2_parquet/ray/Makefile

This file was deleted.

Loading