Skip to content

Commit 9af12b3

Browse files
committed
fix(graph): extend the list of common column aliases
1 parent 34b0525 commit 9af12b3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

graph/src/amp/common/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,22 @@ pub(super) mod column_aliases {
33
"_block_num", // Meta column present in all tables
44
"block_num", // Standard column in most raw tables
55
"blockNum", // Common alternative name
6+
"blocknum", // Common alternative name
67
"block", // Common alternative name
78
"block_number", // Common alternative name
89
"blockNumber", // Common alternative name
10+
"blocknumber", // Common alternative name
911
];
1012
pub(in crate::amp) static BLOCK_HASH: &[&str] = &[
1113
"hash", // Standard column in some raw tables
1214
"block_hash", // Standard column in most raw tables and common alternative name
1315
"blockHash", // Common alternative name
16+
"blockhash", // Common alternative name
1417
];
1518
pub(in crate::amp) static BLOCK_TIMESTAMP: &[&str] = &[
1619
"timestamp", // Standard column in most raw tables
1720
"block_timestamp", // Common alternative name
1821
"blockTimestamp", // Common alternative name
22+
"blocktimestamp", // Common alternative name
1923
];
2024
}

0 commit comments

Comments
 (0)