ensure not to load null comments

This commit is contained in:
Trowbridge 2020-02-14 17:00:44 -05:00
parent 6774a2fdff
commit 7635380ccc
4 changed files with 5 additions and 5 deletions

View File

@ -332,7 +332,7 @@ SELECT
,'replace_version' "version" ,'replace_version' "version"
,'replace_source'||' volume' iter ,'replace_source'||' volume' iter
,log.id ,log.id
,log.doc->>'message' "comment" ,COALESCE(log.doc->>'message','') "comment"
,log.doc->>'type' module ,log.doc->>'type' module
FROM FROM
basemix b basemix b

View File

@ -167,7 +167,7 @@ target AS (select target_increment incr)
,'replace_version' "version" ,'replace_version' "version"
,'replace_source'||' price' iter ,'replace_source'||' price' iter
,log.id ,log.id
,log.doc->>'message' "comment" ,COALESCE(log.doc->>'message','') "comment"
,log.doc->>'type' module ,log.doc->>'type' module
FROM FROM
basemix b basemix b

View File

@ -196,7 +196,7 @@ target AS (select incr_qty qincr)
,'replace_version' "version" ,'replace_version' "version"
,'replace_source'||' volume' iter ,'replace_source'||' volume' iter
,log.id ,log.id
,log.doc->>'message' "comment" ,COALESCE(log.doc->>'message','') "comment"
,log.doc->>'type' module ,log.doc->>'type' module
FROM FROM
basemix b basemix b

View File

@ -195,7 +195,7 @@ target AS (select target_vol vincr, target_prc pincr)
,'replace_version' "version" ,'replace_version' "version"
,'replace_source'||' volume' iter ,'replace_source'||' volume' iter
,log.id ,log.id
,log.doc->>'message' "comment" ,COALESCE(log.doc->>'message','') "comment"
,log.doc->>'type' module ,log.doc->>'type' module
FROM FROM
basemix b basemix b
@ -274,7 +274,7 @@ FROM
,'replace_version' "version" ,'replace_version' "version"
,'replace_source'||' price' iter ,'replace_source'||' price' iter
,log.id ,log.id
,log.doc->>'message' "comment" ,COALESCE(log.doc->>'message','') "comment"
,log.doc->>'type' module ,log.doc->>'type' module
FROM FROM
volume b volume b