Query editor
with parameters as (selectdate_add('day',-30,current_date) as analysis_date,/** Width of each ALT-to-v1 delta bin.** With bin_width_bytes = 20:** 400 represents [400, 420)* 420 represents [420, 440)*/cast(20 as bigint) as bin_width_bytes),alt_metrics_per_transaction as (selectreduce(t.address_table_lookups,cast(row(cast(0 as bigint),cast(0 as bigint),cast(0 as bigint),cast(0 as bigint)) as row(lookup_count bigint,write_accounts bigint,read_accounts bigint,lookup_entries_bytes bigint)),(lookup_state,address_table_lookup) -> cast(row(/** Number of lookup tables.*/lookup_state.lookup_count+ cast(1 as bigint),/** Writable addresses loaded through ALT.*/lookup_state.write_accounts+ cast(coalesce(cardinality(address_table_lookup.writableIndexes),0) as bigint