3

I am trying to copy data to snowflake from local and I am getting

snowflake.connector.errors.ProgrammingError: 001757 (42601): SQL compilation error: Table 'RAW_DATA' does not exist

the same code is working in Jupiter notebook but it doesn't work in vs code. My role is accountadmin so no issue with the permissions.

Code I am trying to run is this

COPY INTO RAW_DATA file_format=(FIELD_OPTIONALLY_ENCLOSED_BY ='"' skip_header=1)
Aakash aggarwal
  • 443
  • 2
  • 6
  • 21

4 Answers4

3

I suspect you are using a different Database/schema than the Jupiter notebook

select current_warehouse(), current_database(), current_schema();

for me gives: