From ed212a61f70cfc23e638c3ff7897b6d89de8179c Mon Sep 17 00:00:00 2001 From: Flook Peter Date: Mon, 13 May 2024 11:03:33 +0800 Subject: [PATCH 1/3] Some examples included 'isPrimary', it should be 'isPrimaryKey' as prescribed by documentation --- .gitignore | 2 +- .idea/.gitignore | 8 ---- .idea/codeStyles/Project.xml | 24 ----------- .idea/codeStyles/codeStyleConfig.xml | 5 --- .idea/jsonSchemas.xml | 28 ------------- .idea/misc.xml | 6 --- .idea/modules.xml | 8 ---- .idea/open-data-contract-standard.iml | 9 ----- .idea/vcs.xml | 6 --- docs/examples/all/full-example.yaml | 6 +-- .../examples/quality/column-completeness.yaml | 2 +- docs/examples/quality/column-validity.yaml | 2 +- docs/standard.md | 8 ++-- site/404.html | 38 +++++++++--------- site/contributing/index.html | 2 +- site/examples/all/full-example.yaml | 6 +-- site/examples/index.html | 2 +- .../examples/quality/column-completeness.yaml | 2 +- site/examples/quality/column-validity.yaml | 2 +- site/index.html | 2 +- site/search/search_index.json | 2 +- site/sitemap.xml | 16 ++++---- site/sitemap.xml.gz | Bin 260 -> 254 bytes site/standard/index.html | 10 ++--- 24 files changed, 51 insertions(+), 145 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/codeStyles/Project.xml delete mode 100644 .idea/codeStyles/codeStyleConfig.xml delete mode 100644 .idea/jsonSchemas.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/open-data-contract-standard.iml delete mode 100644 .idea/vcs.xml diff --git a/.gitignore b/.gitignore index 9bea433..090a1f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ - +.idea .DS_Store diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b8..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml deleted file mode 100644 index e8cce95..0000000 --- a/.idea/codeStyles/Project.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml deleted file mode 100644 index a55e7a1..0000000 --- a/.idea/codeStyles/codeStyleConfig.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/jsonSchemas.xml b/.idea/jsonSchemas.xml deleted file mode 100644 index 8002c8f..0000000 --- a/.idea/jsonSchemas.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 639900d..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 6cb1d32..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/open-data-contract-standard.iml b/.idea/open-data-contract-standard.iml deleted file mode 100644 index d6ebd48..0000000 --- a/.idea/open-data-contract-standard.iml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1dd..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/docs/examples/all/full-example.yaml b/docs/examples/all/full-example.yaml index 0348269..f03c523 100644 --- a/docs/examples/all/full-example.yaml +++ b/docs/examples/all/full-example.yaml @@ -53,7 +53,7 @@ dataset: dataGranularity: Aggregation on columns txn_ref_dt, pmt_txn_id columns: - column: txn_ref_dt - isPrimary: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table. + isPrimaryKey: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table. primaryKeyPosition: -1 businessName: transaction reference date logicalType: date @@ -77,7 +77,7 @@ dataset: - 2022-10-03 - 2020-01-28 - column: rcvr_id - isPrimary: true # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table. + isPrimaryKey: true # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table. primaryKeyPosition: 1 businessName: receiver id logicalType: string @@ -92,7 +92,7 @@ dataset: tags: [] classification: restricted - column: rcvr_cntry_code - isPrimary: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table. + isPrimaryKey: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table. primaryKeyPosition: -1 businessName: receiver country code logicalType: string diff --git a/docs/examples/quality/column-completeness.yaml b/docs/examples/quality/column-completeness.yaml index 4d4cda9..6397fd7 100644 --- a/docs/examples/quality/column-completeness.yaml +++ b/docs/examples/quality/column-completeness.yaml @@ -14,7 +14,7 @@ dataset: dataGranularity: Raw records columns: - column: UniqueID - isPrimary: true + isPrimaryKey: true businessName: Unique identifier logicalType: number physicalType: int diff --git a/docs/examples/quality/column-validity.yaml b/docs/examples/quality/column-validity.yaml index 7edd9f0..29c8f7a 100644 --- a/docs/examples/quality/column-validity.yaml +++ b/docs/examples/quality/column-validity.yaml @@ -14,7 +14,7 @@ dataset: dataGranularity: Raw records columns: - column: UniqueID - isPrimary: true + isPrimaryKey: true businessName: Unique identifier logicalType: number physicalType: int diff --git a/docs/standard.md b/docs/standard.md index f1d683c..c38ce5b 100644 --- a/docs/standard.md +++ b/docs/standard.md @@ -124,7 +124,7 @@ dataset: dataGranularity: Aggregation on columns txn_ref_dt, pmt_txn_id columns: - column: txn_ref_dt - isPrimary: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table. + isPrimaryKey: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table. primaryKeyPosition: -1 businessName: transaction reference date logicalType: date @@ -148,7 +148,7 @@ dataset: - 2022-10-03 - 2020-01-28 - column: rcvr_id - isPrimary: true # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table. + isPrimaryKey: true # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table. primaryKeyPosition: 1 businessName: receiver id logicalType: string @@ -164,7 +164,7 @@ dataset: classification: restricted encryptedColumnName: enc_rcvr_id - column: rcvr_cntry_code - isPrimary: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table. + isPrimaryKey: false # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table. primaryKeyPosition: -1 businessName: receiver country code logicalType: string @@ -298,7 +298,7 @@ dataset: dataset: - table: tab1 - column: rcvr_id - isPrimary: true # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table. + isPrimaryKey: true # NEW in v2.1.0, Optional, default value is false, indicates whether the column is primary key in the table. businessName: receiver id # ... quality: diff --git a/site/404.html b/site/404.html index 270eeb2..df4726d 100644 --- a/site/404.html +++ b/site/404.html @@ -14,7 +14,7 @@ - + @@ -23,10 +23,10 @@ - + - + @@ -45,7 +45,7 @@ - + @@ -81,9 +81,9 @@