Open kimakan opened 3 months ago
The settings variable USER_TABLESPACE sets the tablespace for the tables created by the daiquiri user. However, it's not taken into account for the uploaded tables. For the query job, the tablespace is selected correctly via https://github.com/django-daiquiri/daiquiri/blob/39d911087655b842303f94516cbf34ae0f173ee5/daiquiri/core/adapter/database/postgres.py#L121-L126
USER_TABLESPACE
Tablespace is missing in the table creation statement for the upload
https://github.com/django-daiquiri/daiquiri/blob/39d911087655b842303f94516cbf34ae0f173ee5/daiquiri/core/adapter/database/base.py#L211-L218
The settings variable
USER_TABLESPACE
sets the tablespace for the tables created by the daiquiri user. However, it's not taken into account for the uploaded tables. For the query job, the tablespace is selected correctly via https://github.com/django-daiquiri/daiquiri/blob/39d911087655b842303f94516cbf34ae0f173ee5/daiquiri/core/adapter/database/postgres.py#L121-L126Tablespace is missing in the table creation statement for the upload
https://github.com/django-daiquiri/daiquiri/blob/39d911087655b842303f94516cbf34ae0f173ee5/daiquiri/core/adapter/database/base.py#L211-L218