Skip to content

Commit

Permalink
Merge branch 'master' into fix-sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
sydneynotthecity authored May 1, 2024
2 parents 6ff30b6 + 435f69b commit bd7a431
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 4 deletions.
4 changes: 2 additions & 2 deletions airflow_variables_dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"dbt_threads": 12,
"gcs_exported_data_bucket_name": "us-central1-test-hubble-2-5f1f2dbf-bucket",
"gcs_exported_object_prefix": "dag-exported",
"image_name": "stellar/stellar-etl:a334cb5",
"image_name": "stellar/stellar-etl:834b7bb",
"image_output_path": "/etl/exported_data/",
"image_pull_policy": "IfNotPresent",
"kube_config_location": "",
Expand Down Expand Up @@ -215,7 +215,7 @@
}
}
},
"sentry_dsn": "https://[email protected]/6190849",
"sentry_dsn": "https://[email protected].us.sentry.io/6190849",
"sentry_environment": "development",
"schema_filepath": "/home/airflow/gcs/dags/schemas/",
"table_ids": {
Expand Down
4 changes: 2 additions & 2 deletions airflow_variables_prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"dbt_threads": 12,
"gcs_exported_data_bucket_name": "us-central1-hubble-2-d948d67b-bucket",
"gcs_exported_object_prefix": "dag-exported",
"image_name": "stellar/stellar-etl:a334cb5",
"image_name": "stellar/stellar-etl:834b7bb",
"image_output_path": "/etl/exported_data/",
"image_pull_policy": "IfNotPresent",
"kube_config_location": "",
Expand Down Expand Up @@ -210,7 +210,7 @@
}
}
},
"sentry_dsn": "https://[email protected]/5806618",
"sentry_dsn": "https://[email protected].us.sentry.io/5806618",
"sentry_environment": "production",
"schema_filepath": "/home/airflow/gcs/dags/schemas/",
"table_ids": {
Expand Down
2 changes: 2 additions & 0 deletions dags/sandbox_update_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
)

for table_id in TABLES_ID:
if table_id == "diagnostic_events":
continue
query_path = get_query_filepath("update_table")
query = file_to_string(query_path)
sql_params = {
Expand Down
50 changes: 50 additions & 0 deletions schemas/contract_code_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,55 @@
"mode": "NULLABLE",
"name": "ledger_key_hash",
"type": "STRING"
},
{
"mode": "NULLABLE",
"name": "n_instructions",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "n_functions",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "n_globals",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "n_table_entries",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "n_types",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "n_data_segments",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "n_elem_segments",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "n_imports",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "n_exports",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "n_data_segment_bytes",
"type": "INTEGER"
}
]
5 changes: 5 additions & 0 deletions schemas/history_ledgers_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,10 @@
"mode": "NULLABLE",
"name": "batch_insert_ts",
"type": "TIMESTAMP"
},
{
"mode": "NULLABLE",
"name": "soroban_fee_write_1kb",
"type": "INTEGER"
}
]
15 changes: 15 additions & 0 deletions schemas/history_transactions_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,5 +193,20 @@
"mode": "NULLABLE",
"name": "resource_fee_refund",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "non_refundable_resource_fee_charged",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "refundable_resource_fee_charged",
"type": "INTEGER"
},
{
"mode": "NULLABLE",
"name": "rent_fee_charged",
"type": "INTEGER"
}
]

0 comments on commit bd7a431

Please sign in to comment.