LoginSignup
1
0

More than 3 years have passed since last update.

RedshiftでERROR: relation "table_name" does not exist

Posted at
ERROR: relation "activities" does not exist

image.png

結論、ユーザー名とスキーマ名を揃えると解決します。

1. Show search path.

SHOW search_path;

で確認してみると、

$user, public

image.png

userがpublicになっているので、スキーマ名にする。

2. Set schema name.

set search_path to schema_name;

ref

Appendix

もしくはqueryでschemaを指定してもOK。

select * from schema_name.table_name;
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0