事象
実行したセルの内容は下記の通りです。S-093で作成したテーブル名をproduct2としています。
%%sql
COPY product2 TO '/tmp/data/product2.csv' WITH CSV HEADER encoding 'UTF-8'
下記のエラーとなりました。
* postgresql://padawan:***@db:5432/dsdojo_db
(psycopg2.errors.InsufficientPrivilege) could not open file "/tmp/data/product2.csv" for writing: Permission denied
HINT: COPY TO instructs the PostgreSQL server process to write a file. You may want a client-side facility such as psql's \copy.
[SQL: COPY product2 TO '/tmp/data/product2.csv' WITH CSV HEADER encoding 'UTF-8']
(Background on this error at: https://sqlalche.me/e/14/f405)
環境
OS: Ubuntu 20.04
docker: 20.10.12
docker-compose: 1.29.2
事象
実行したセルの内容は下記の通りです。S-093で作成したテーブル名を
product2としています。下記のエラーとなりました。
環境
OS: Ubuntu 20.04
docker: 20.10.12
docker-compose: 1.29.2