You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After we ingest files, we can only execute the tagbase_materialized_views.sql one time. This is a bug. We should be able to execute it multiple times. This should also be a stored procedure such that a DB admin can execute it via pgAdmin.
The text was updated successfully, but these errors were encountered:
I am not quite following the problem here @lewismc . The SQL file tagbase_materialized_views.sql contains the definition of the materialized files. This definition is expected to be executed once. Then users can query (i.e., execute SELECT statements) on them.
Today we determine that the empty materialized views should be created upon DB initialization. Any data movement is then merely an update of one or more of the views. This could be implemented as a REST API as well as a stored procedures.
Any subsequent updates need to REFRESH MATERIALIZED VIEW.
After we ingest files, we can only execute the tagbase_materialized_views.sql one time. This is a bug. We should be able to execute it multiple times. This should also be a stored procedure such that a DB admin can execute it via pgAdmin.
The text was updated successfully, but these errors were encountered: