Skip to content

Commit

Permalink
sql: Fix typo in contract_implemetation_documenttype_counts column (m…
Browse files Browse the repository at this point in the history
…issing "n"), closes #141
  • Loading branch information
jpmckinney committed Feb 2, 2021
1 parent 8a6fb3a commit 2b20e11
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions docs/changelog.rst
@@ -1,6 +1,14 @@
Changelog
=========

2021-02-01
----------

Changed
~~~~~~~

- Fix typo in ``contract_implemetation_documenttype_counts`` column (missing "n").

2021-01-06
----------

Expand Down
2 changes: 1 addition & 1 deletion docs/definitions/release_summary.csv
Expand Up @@ -38,7 +38,7 @@ total_contract_items,numeric,Count of contracts/items
total_contract_implementation_documents,numeric,Count of contracts/implementation/documents
total_contract_implementation_milestones,numeric,Count of contracts/implementation/milestones
contract_documenttype_counts,jsonb,JSONB object with the keys as unique contracts/documents/documentType and the values as count of the appearances of those documentTypes
contract_implemetation_documenttype_counts,jsonb,JSONB object with the keys as unique contracts/implementation/documents/documentType and the values as count of the appearances of those documentTypes
contract_implementation_documenttype_counts,jsonb,JSONB object with the keys as unique contracts/implementation/documents/documentType and the values as count of the appearances of those documentTypes
contract_milestonetype_counts,jsonb,JSONB object with the keys as unique contracts/milestone/milestoneType and the values as count of the appearances of those milestoneTypes
contract_implementation_milestonetype_counts,jsonb,JSONB object with the keys as unique contracts/implementation/documents/milestoneType and the values as count of the appearances of those milestoneTypes
total_documenttype_counts,jsonb,JSONB object with the keys as unique documentTypes from all documents in the release and the values as count of the appearances of those documentTypes
Expand Down
2 changes: 1 addition & 1 deletion docs/definitions/release_summary_no_data.csv
Expand Up @@ -38,7 +38,7 @@ total_contract_items,numeric,Count of contracts/items
total_contract_implementation_documents,numeric,Count of contracts/implementation/documents
total_contract_implementation_milestones,numeric,Count of contracts/implementation/milestones
contract_documenttype_counts,jsonb,JSONB object with the keys as unique contracts/documents/documentType and the values as count of the appearances of those documentTypes
contract_implemetation_documenttype_counts,jsonb,JSONB object with the keys as unique contracts/implementation/documents/documentType and the values as count of the appearances of those documentTypes
contract_implementation_documenttype_counts,jsonb,JSONB object with the keys as unique contracts/implementation/documents/documentType and the values as count of the appearances of those documentTypes
contract_milestonetype_counts,jsonb,JSONB object with the keys as unique contracts/milestone/milestoneType and the values as count of the appearances of those milestoneTypes
contract_implementation_milestonetype_counts,jsonb,JSONB object with the keys as unique contracts/implementation/documents/milestoneType and the values as count of the appearances of those milestoneTypes
total_documenttype_counts,jsonb,JSONB object with the keys as unique documentTypes from all documents in the release and the values as count of the appearances of those documentTypes
Expand Down
2 changes: 1 addition & 1 deletion sql/final/docs.sql
Expand Up @@ -486,7 +486,7 @@ BEGIN
COMMENT ON COLUMN %1$s.total_contract_implementation_documents IS 'Count of contracts/implementation/documents';
COMMENT ON COLUMN %1$s.total_contract_implementation_milestones IS 'Count of contracts/implementation/milestones';
COMMENT ON COLUMN %1$s.contract_documenttype_counts IS 'JSONB object with the keys as unique contracts/documents/documentType and the values as count of the appearances of those documentTypes';
COMMENT ON COLUMN %1$s.contract_implemetation_documenttype_counts IS 'JSONB object with the keys as unique contracts/implementation/documents/documentType and the values as count of the appearances of those documentTypes';
COMMENT ON COLUMN %1$s.contract_implementation_documenttype_counts IS 'JSONB object with the keys as unique contracts/implementation/documents/documentType and the values as count of the appearances of those documentTypes';
COMMENT ON COLUMN %1$s.contract_milestonetype_counts IS 'JSONB object with the keys as unique contracts/milestone/milestoneType and the values as count of the appearances of those milestoneTypes';
COMMENT ON COLUMN %1$s.contract_implementation_milestonetype_counts IS 'JSONB object with the keys as unique contracts/implementation/documents/milestoneType and the values as count of the appearances of those milestoneTypes';
COMMENT ON COLUMN %1$s.total_documenttype_counts IS 'JSONB object with the keys as unique documentTypes from all documents in the release and the values as count of the appearances of those documentTypes';
Expand Down
2 changes: 1 addition & 1 deletion sql/middle/agg_contracts.sql
Expand Up @@ -40,7 +40,7 @@ CREATE UNIQUE INDEX tmp_contract_documents_aggregates_id ON tmp_contract_documen
CREATE TABLE tmp_contract_implementation_documents_aggregates AS
SELECT
id,
jsonb_object_agg(coalesce(documentType, ''), documentType_count) contract_implemetation_documentType_counts
jsonb_object_agg(coalesce(documentType, ''), documentType_count) contract_implementation_documenttype_counts
FROM (
SELECT
id,
Expand Down

0 comments on commit 2b20e11

Please sign in to comment.