Skip to content

Commit f0c1113

Browse files
New debug/utils scripts
Signed-off-by: Lukasz Gryglicki <[email protected]>
1 parent d13463d commit f0c1113

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

utils/get_project.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22
# API_URL=https://[xyz].ngrok-free.app (defaults to localhost:5000)
33
# API_URL=https://api.lfcla.dev.platform.linuxfoundation.org
4+
# API_URL=https://api.easycla.lfx.linuxfoundation.org
45
# https://api.easycla.lfx.linuxfoundation.org/v2/project/d8cead54-92b7-48c5-a2c8-b1e295e8f7f1
56
if [ -z "$1" ]
67
then

utils/list_broken_documents.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
select p.project_id, d.value:document_author_name, t.value:document_tab_name from fivetran_ingest.dynamodb_product_us_east_1.cla_prod_projects p, lateral flatten(input => data:project_individual_documents) d, lateral flatten(input => d.value:document_tabs) t where (d.value:document_author_name is null or t.value:document_tab_name is null) order by 1, 2;
2+
select p.project_id, d.value:document_author_name, t.value:document_tab_name from fivetran_ingest.dynamodb_product_us_east_1.cla_prod_projects p, lateral flatten(input => data:project_corporate_documents) d, lateral flatten(input => d.value:document_tabs) t where (d.value:document_author_name is null or t.value:document_tab_name is null) order by 1, 2;
3+
select p.project_id, d.value:document_author_name, t.value:document_tab_name from fivetran_ingest.dynamodb_product_us_east_1.cla_prod_projects p, lateral flatten(input => data:member_documents) d, lateral flatten(input => d.value:document_tabs) t where (d.value:document_author_name is null or t.value:document_tab_name is null) order by 1, 2;

0 commit comments

Comments
 (0)