views cannot be stored as parquet...

This commit is contained in:
Antonis Lempesis 2022-03-29 16:37:29 +03:00
parent fff0b3cc19
commit 7112806a73
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ SELECT substr(o.id, 4) as id,
FROM ${openaire_db_name}.organization o
WHERE o.datainfo.deletedbyinference = FALSE and o.datainfo.invisible = FALSE;
CREATE OR REPLACE VIEW ${stats_db_name}.organization_datasources STORED AS PARQUET AS
CREATE OR REPLACE VIEW ${stats_db_name}.organization_datasources AS
SELECT organization AS id, id AS datasource
FROM ${stats_db_name}.datasource_organizations;