Getting error: No schema has been selected to create in LINE 2: CREATE TABLE entities.
- Dominant language
- Python
- Stars
- 7.3k
- Forks
- 1.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 15
Description
Hi team
I am getting error no schema is selected. as observed that
while doing "feast apply" this will trying to create "entities" table in "feast_offline"
and giving this error
but the table is created inside "feast_offline"
```
File "/mnt/batch/tasks/shared/LS_root/mounts/clusters/mlopscp/code/Users/puneet.makhija/feast-env/lib/python3.9/site-packages/sqlalchemy/util/compat.py", line 211, in raise_
raise exception
File "/mnt/batch/tasks/shared/LS_root/mounts/clusters/mlopscp/code/Users/puneet.makhija/feast-env/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1910, in _execute_context
self.dialect.do_execute(
File "/mnt/batch/tasks/shared/LS_root/mounts/clusters/mlopscp/code/Users/puneet.makhija/feast-env/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 736, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.InvalidSchemaName) no schema has been selected to create in
LINE 2: CREATE TABLE entities (
^
[SQL:
CREATE TABLE entities (
entity_name VARCHAR(50) NOT NULL,
project_id VARCHAR(50) NOT NULL,
last_updated_timestamp BIGINT NOT NULL,
entity_proto BYTEA NOT NULL,
PRIMARY KEY (entity_name, project_id)
)
]
(Background on this error at: https://sqlalche.me/e/14/f405)
```
Contributor guide
Assessment
This issue has not been assessed yet.