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

CreateDatasetUseCaseImpl: allows create a dataset that has duplicate inputs #1051

Open
s373r opened this issue Jan 29, 2025 · 0 comments
Open
Assignees
Labels
bug Something isn't working good first issue Good for newcomers rust Pull requests that update Rust code

Comments

@s373r
Copy link
Member

s373r commented Jan 29, 2025

Describe the bug

.

Steps To Reproduce

  1. Create a workspace
kamu init
  1. Create snapshots with content:
# root.yaml
kind: DatasetSnapshot
version: 1
content:
  name: root
  kind: Root
  metadata: [ ]
# deriv.yaml
kind: DatasetSnapshot
version: 1
content:
  name: deriv
  kind: Derivative
  metadata:
    - kind: SetTransform
      inputs:
        - datasetRef: root
        - datasetRef: root
      transform:
        kind: Sql
        engine: some_engine
        queries:
          - query: select * from input
  1. Add the snapshots to the workspace:
kamu add root.yaml
kamu add deriv.yaml

Current Behavior

deriv added

Expected Behavior

Error that deriv contains identical inputs (which 99% means copypaste error)

kamu system info

The latest version at the moment (0.220.0)

Logs

No response

Anything else?

No response

@s373r s373r added bug Something isn't working good first issue Good for newcomers rust Pull requests that update Rust code labels Jan 29, 2025
@s373r s373r self-assigned this Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers rust Pull requests that update Rust code
Projects
None yet
Development

No branches or pull requests

1 participant