RedshiftでERROR: relation "table_name" does not exist
ERROR: relation "activities" does not exist
結論、ユーザー名とスキーマ名を揃えると解決します。
1. Show search path.
SHOW search_path;
SHOW search_path;
で確認してみると、
$user, public
userがpublicになっているので、スキーマ名にする。
2. Set schema name.
set search_path to schema_name;
ref
set search_path to schema_name;
Appendix
もしくはqueryでschemaを指定してもOK。
select * from schema_name.table_name;
Author And Source
この問題について(RedshiftでERROR: relation "table_name" does not exist), 我々は、より多くの情報をここで見つけました https://qiita.com/akkiii/items/07ed467af5530f903802著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .