kestra-io / plugin-gcp

Apache License 2.0
9 stars 10 forks source link

`bigquery.Copy` not working with validation error #428

Closed Ben8t closed 2 months ago

Ben8t commented 3 months ago

Expected Behavior

No response

Actual Behaviour

This cannot be save due to this error:

Internal server error: HV000030: No validator could be found for constraint ‘io.kestra.plugin.gcp.bigquery.StoreFetchDestinationValidation’ validating type ‘io.kestra.plugin.gcp.bigquery.Copy’. Check configuration for ‘tasks[0]’

id: test_bq_copy
namespace: kestra.sandbox

tasks:
  - id: snapshot_table
    type: io.kestra.plugin.gcp.bigquery.Copy
    destinationTable: kestra-dev.bpimpaud.new_data_test
    operationType: COPY
    sourceTables:
      - kestra-dev.bpimpaud.data_from_db
    projectId: kestra-dev
    serviceAccount: "{{ secret('GCP_CREDS') }}"

The flow is fairly basic and use the example from plugin documentation

Steps To Reproduce

No response

Environment Information

Example flow

No response

fikafetsy commented 3 months ago

image switch REST or BULK, error persist