brave-ice-86395
11/27/2019, 5:33 PMmeltano permissions grant roles.yml --db snowflake --dry --diff
this script takes hours to run .. is there anything I might be doing wrong?fierce-honey-5880
11/27/2019, 5:43 PMbrave-ice-86395
11/27/2019, 5:47 PMfierce-honey-5880
11/27/2019, 5:48 PMbrave-ice-86395
11/27/2019, 5:50 PMChecking that all entities in the spec file are defined in Snowflake
fierce-honey-5880
11/27/2019, 5:52 PMbrave-ice-86395
11/27/2019, 5:52 PMfierce-honey-5880
11/27/2019, 5:52 PMbrave-ice-86395
11/27/2019, 5:53 PMfierce-honey-5880
11/27/2019, 5:56 PMinsecure_mode=True,
line
https://gitlab.com/meltano/meltano/blob/master/src/meltano/core/permissions/utils/snowflake_connector.py#L37
3. Run meltano using your version of the code
(create a venv for meltano inside that project and run pip install -e '.[dev]'
)
python3 -m venv venv
source venv/bin/activate
pip install -e '.[dev]'
brave-ice-86395
11/27/2019, 5:58 PMfierce-honey-5880
11/27/2019, 6:00 PMSHOW
and it takes as much time as adding a primary index over a huge tablebrave-ice-86395
11/27/2019, 6:01 PMshow
fierce-honey-5880
11/27/2019, 6:02 PMbrave-ice-86395
11/27/2019, 6:03 PMfierce-honey-5880
11/27/2019, 6:03 PMbrave-ice-86395
11/27/2019, 6:09 PM27,428 rows produced
this was the output of that query but that took 9 minsfierce-honey-5880
11/27/2019, 6:11 PMbrave-ice-86395
11/27/2019, 6:14 PM