Open Peeyush-Now opened 1 year ago
Inside utils/snowpark_utils.py
# Convert snowsql connection variable names to snowcli ones # session_config_dict = { # snowsql_to_snowpark_config_mapping[k]: v.strip('"') # for k, v in session_config.items() # }
session_config_dict = {} for (k1,v1), (k2,v2) in zip(snowsql_to_snowpark_config_mapping.items(), session_config.items()): session_config_dict[k1] = v2.strip('"')
Also, inside steps/02_load_raw.py
# current_dir = os.getcwd() current_dir = os.path.dirname(os.path.abspath(__file__))
Sorry about the CAPS!!
I was facing issue related to path, thanks @Peeyush-Now this worked for me
Inside utils/snowpark_utils.py
THIS WILL NOT WORK AS THE KEYS BETWEEN SNOWCLI AND SNOWPARK ARE DIFFERENT!!
WE NEED TO IETRATE OVER BOTH DICTIONARIES AT THE SAME TIME
Also, inside steps/02_load_raw.py
perhaps make this more foolproof