Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
Check all edge cases of changelog

test

test
  • Loading branch information
amishas157 committed Oct 30, 2024
1 parent 79121d1 commit 09184f8
Show file tree
Hide file tree
Showing 9 changed files with 128 additions and 27 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/update_source_data_schema_changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@ jobs:
cd $GITHUB_WORKSPACE
cp -r schemas/ new_schemas/
git clone --branch master https://github.com/stellar/stellar-etl-airflow.git repo_master_copy
cp -r repo_master_copy/schemas/ old_schemas/
cp -r repo_master_copy/schemas/ original_schemas/
output=$(python3 scripts/get_source_data_schema_changelog.py)
echo "$output" > changelog/source_data.md
- name: Commit changes
id: commit_changes
run: |
Expand Down
1 change: 1 addition & 0 deletions changelog/source_data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## Junk data to check if append works
12 changes: 0 additions & 12 deletions schemas/dimAccounts_schema.json

This file was deleted.

5 changes: 5 additions & 0 deletions schemas/dimOffers_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,10 @@
"mode": "NULLABLE",
"name": "horizon_offer_id",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "new_id",
"type": "INTEGER"
}
]
2 changes: 1 addition & 1 deletion schemas/history_assets_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{
"mode": "NULLABLE",
"name": "asset_code",
"type": "STRING"
"type": "INTEGER"
},
{
"mode": "NULLABLE",
Expand Down
5 changes: 0 additions & 5 deletions schemas/history_trades_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
"name": "selling_asset_issuer",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "selling_asset_type",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "selling_asset_id",
Expand Down
118 changes: 118 additions & 0 deletions schemas/new_table_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
[
{
"mode": "NULLABLE",
"name": "liquidity_pool_id",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "type",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "fee",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "trustline_count",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "pool_share_count",
"type": "FLOAT"
},
{
"mode": "NULLABLE",
"name": "asset_a_type",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "asset_a_code",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "asset_a_issuer",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "asset_a_id",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "asset_a_amount",
"type": "FLOAT"
},
{
"mode": "NULLABLE",
"name": "asset_b_type",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "asset_b_code",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "asset_b_issuer",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "asset_b_id",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "asset_b_amount",
"type": "FLOAT"
},
{
"mode": "NULLABLE",
"name": "last_modified_ledger",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "ledger_entry_change",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "deleted",
"type": "BOOLEAN"
},
{
"mode": "NULLABLE",
"name": "batch_id",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "batch_run_date",
"type": "DATETIME"
},
{
"mode": "NULLABLE",
"name": "batch_insert_ts",
"type": "TIMESTAMP"
},
{
"mode": "NULLABLE",
"name": "closed_at",
"type": "TIMESTAMP"
},
{
"mode": "NULLABLE",
"name": "ledger_sequence",
"type": "INTEGER"
}
]

2 changes: 1 addition & 1 deletion schemas/offers_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{
"mode": "NULLABLE",
"name": "buying_asset_id",
"type": "INTEGER"
"type": "STRING"
},
{
"mode": "NULLABLE",
Expand Down
5 changes: 0 additions & 5 deletions schemas/trust_lines_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
"name": "account_id",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "asset_type",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "asset_issuer",
Expand Down

0 comments on commit 09184f8

Please sign in to comment.