Skip to content

Надо запретить трансформации, когда primary айдишники между входной и выходной таблицы не пересекаются #320

@bobokvsky

Description

@bobokvsky

Пример Рената:

    UpdateExternalTable(
        output="image_file",  # ["image_id"]
        labels=[("stage", "annotation")],
    ),
    BatchTransform(
        func=add_image_file_to_image,
        inputs=["image_file"],  # ["image_id"]
        outputs=["image"],  # ["image_id"]
        chunk_size=32,
        executor_config=ExecutorConfig(cpu=0.5),
        labels=[("stage", "annotation")],
    ),
    UpdateExternalTable(
        output="scan2_scan",  # ["id"]
        labels=[("stage", "annotation")],
    ),
    BatchTransform(
        func=add_to_ml_training_images_to_image,
        inputs=["scan2_scan"],  # ["id"]
        outputs=["image"],  # ["image_id"]
        labels=[("stage", "annotation")],
    ),

Удаляет всю таблицу image картинки, полученные из image_file

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions