Skip to content

ProcessingInput takes Dataset Definition, but does not accept raw S3 definition #2066

Closed

Description

@ericangelokim

dataset_definition=None,

The new ProcessingInput implementation now takes dataset_definition as a parameter, but fails when S3 Dataset Definition is used:

ParamValidationError: Parameter validation failed:
Unknown parameter in ProcessingInputs[1].DatasetDefinition: "Typename", must be one of: AthenaDatasetDefinition, RedshiftDatasetDefinition, LocalPath, DataDistributionType, InputMode
Unknown parameter in ProcessingInputs[1].DatasetDefinition: "Datasetsourcetype", must be one of: AthenaDatasetDefinition, RedshiftDatasetDefinition, LocalPath, DataDistributionType, InputMode
Unknown parameter in ProcessingInputs[1].DatasetDefinition: "Name", must be one of: AthenaDatasetDefinition, RedshiftDatasetDefinition, LocalPath, DataDistributionType, InputMode
Unknown parameter in ProcessingInputs[1].DatasetDefinition: "S3Executioncontext", must be one of: AthenaDatasetDefinition, RedshiftDatasetDefinition, LocalPath, DataDistributionType, InputMode

This is inconvenient to use, as it requires different implementation for S3 inputs. Not entirely sure why this is implemented as such.

Activity

  1. added
    component: processing
    on Sep 27, 2023
  2. marckarp commented on Dec 21, 2023

    @marckarp
    Contributor

    If you want to use S3 as input to the Processing Job you should be setting s3_input ( S3Input).
    If you are still facing an issue please provide a code snippet to reproduce the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXcomponent: processing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions