Skip to content

Commit 2976fd6

Browse files
committed
indent
1 parent b32a09c commit 2976fd6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/sql/transfers/tvm.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ arrayFilter(x -> x != '', {transaction_id:Array(String)}) AS tx_ids,
55
arrayFilter(x -> x != '', {from_address:Array(String)}) AS from_addresses,
66
arrayFilter(x -> x != '', {to_address:Array(String)}) AS to_addresses,
77
arrayFilter(x -> x != '', {contract:Array(String)}) AS contracts,
8+
89
(length(tx_ids) > 0) AS has_tx_hash,
910
(length(from_addresses) > 0) AS has_from,
1011
(length(to_addresses) > 0) AS has_to,
1112
(length(contracts) > 0) AS has_contract,
1213
has_contract AND (NOT has_from) AND (NOT has_to) AS has_only_contract,
14+
1315
toRelativeMinuteNum(toDateTime({start_time:UInt64})) AS start_minute,
1416
toRelativeMinuteNum(toDateTime({end_time:UInt64})) AS end_minute,
1517
{start_time:UInt64} = 1420070400 AS no_start_time,

src/sql/transfers_native/tvm.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ WITH
44
arrayFilter(x -> x != '', {transaction_id:Array(String)}) AS tx_ids,
55
arrayFilter(x -> x != '', {from_address:Array(String)}) AS from_addresses,
66
arrayFilter(x -> x != '', {to_address:Array(String)}) AS to_addresses,
7+
78
(length(tx_ids) > 0) AS has_tx_hash,
89
(length(from_addresses) > 0) AS has_from,
910
(length(to_addresses) > 0) AS has_to,

0 commit comments

Comments
 (0)