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

Scenario parameter does not work as expected #409

Open
pauldewaal-disy opened this issue Jan 12, 2023 · 0 comments
Open

Scenario parameter does not work as expected #409

pauldewaal-disy opened this issue Jan 12, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@pauldewaal-disy
Copy link

Describe the bug
In case I use cmd line parameter "scenario", I would expect that any other JSON file in my namespace, that is not included in the scenario-list, is ignored during generation.

To Reproduce
Steps to reproduce the behavior:

  1. Schema (if applicable)
    I have generated a couple of collections in a new namespace, using the import integration with Postgres.
    The dimensional tables in my Postgres schema already contain valid data. For this particular use case, I want to generate data exclusively for my transactional tables, not the dimensional table. Therefore, I applied the scenario parameter during generation, and I included only the collections in my scenario-list that should be considered for generating data.
2. See error
According to the error, synth is still looking into some collections that I meant to exclude from data generation.

![image](https://user-images.githubusercontent.com/122522371/212026923-260e7526-f194-4336-855f-86e787288f41.png)


**Expected behavior**
When I apply the scenario parameter at generation time, I would expect that any other JSON file in my namespace, that is not included in the scenario-list, is ignored during generation.

**Screenshots**
Please see screenshot above

**Environment (please complete the following information):**
 - Mac OS Monterey 12.3 (M1 architecture)

**Additional context**
Add any other context about the problem here.
@pauldewaal-disy pauldewaal-disy added the bug Something isn't working label Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant