Aded joblines status view and updated graph to use the view. BOD-110
This commit is contained in:
@@ -0,0 +1 @@
|
||||
[]
|
||||
10
hasura/migrations/1596731602565_run_sql_migration/up.yaml
Normal file
10
hasura/migrations/1596731602565_run_sql_migration/up.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
- args:
|
||||
cascade: true
|
||||
read_only: false
|
||||
sql: create view joblines_stats as select jobid, status ,count(1), part_type
|
||||
from joblines j group by jobid, status, part_type ;
|
||||
type: run_sql
|
||||
- args:
|
||||
name: joblines_stats
|
||||
schema: public
|
||||
type: add_existing_table_or_view
|
||||
Reference in New Issue
Block a user