You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let sql = "create index attr_1_0_token_id on sgd44.token using btree (id)";
952
+
let sql = "create index attr_1_0_token_id on sgd44.token using btree (\"id\")";
953
953
let exp = Parsed{
954
954
unique:false,
955
955
name:"attr_1_0_token_id",
@@ -962,7 +962,7 @@ fn parse() {
962
962
parse_one(sql, exp);
963
963
964
964
let sql =
965
-
"create index attr_1_1_token_symbol on sgd44.token using btree (\"left\"(symbol, 256))";
965
+
"create index attr_1_1_token_symbol on sgd44.token using btree (left(\"symbol\", 256))";
966
966
let exp = Parsed{
967
967
unique:false,
968
968
name:"attr_1_1_token_symbol",
@@ -974,7 +974,8 @@ fn parse() {
974
974
};
975
975
parse_one(sql, exp);
976
976
977
-
let sql = "create index attr_1_5_token_trade_volume on sgd44.token using btree (trade_volume)";
977
+
let sql =
978
+
"create index attr_1_5_token_trade_volume on sgd44.token using btree (\"trade_volume\")";
978
979
let exp = Parsed{
979
980
unique:false,
980
981
name:"attr_1_5_token_trade_volume",
@@ -1022,7 +1023,8 @@ fn parse() {
1022
1023
};
1023
1024
parse_one(sql, exp);
1024
1025
1025
-
let sql = "create index token_id_block_range_excl on sgd44.token using gist (id, block_range)";
1026
+
let sql =
1027
+
"create index token_id_block_range_excl on sgd44.token using gist (\"id\", block_range)";
1026
1028
let exp = Parsed{
1027
1029
unique:false,
1028
1030
name:"token_id_block_range_excl",
@@ -1034,7 +1036,7 @@ fn parse() {
1034
1036
};
1035
1037
parse_one(sql, exp);
1036
1038
1037
-
let sql="create index attr_1_11_pool_owner on sgd411585.pool using btree (\"substring\"(owner, 1, 64))";
1039
+
let sql="create index attr_1_11_pool_owner on sgd411585.pool using btree (substring(\"owner\", 1, 64))";
1038
1040
let exp = Parsed{
1039
1041
unique:false,
1040
1042
name:"attr_1_11_pool_owner",
@@ -1047,7 +1049,7 @@ fn parse() {
1047
1049
parse_one(sql, exp);
1048
1050
1049
1051
let sql =
1050
-
"create index attr_1_20_pool_vault_id on sgd411585.pool using gist (vault_id, block_range)";
1052
+
"create index attr_1_20_pool_vault_id on sgd411585.pool using gist (\"vault_id\", block_range)";
1051
1053
let exp = Parsed{
1052
1054
unique:false,
1053
1055
name:"attr_1_20_pool_vault_id",
@@ -1059,7 +1061,8 @@ fn parse() {
1059
1061
};
1060
1062
parse_one(sql, exp);
1061
1063
1062
-
let sql = "create index attr_1_22_pool_tokens_list on sgd411585.pool using gin (tokens_list)";
1064
+
let sql =
1065
+
"create index attr_1_22_pool_tokens_list on sgd411585.pool using gin (\"tokens_list\")";
1063
1066
let exp = Parsed{
1064
1067
unique:false,
1065
1068
name:"attr_1_22_pool_tokens_list",
@@ -1071,7 +1074,7 @@ fn parse() {
1071
1074
};
1072
1075
parse_one(sql, exp);
1073
1076
1074
-
let sql = "create index manual_partial_pool_total_liquidity on sgd411585.pool using btree (total_liquidity) where (coalesce(upper(block_range), 2147483647) > 15635000)";
1077
+
let sql = "create index manual_partial_pool_total_liquidity on sgd411585.pool using btree (\"total_liquidity\") where (coalesce(upper(block_range), 2147483647) > 15635000)";
1075
1078
let exp = Parsed{
1076
1079
unique:false,
1077
1080
name:"manual_partial_pool_total_liquidity",
@@ -1083,7 +1086,7 @@ fn parse() {
1083
1086
};
1084
1087
parse_one(sql, exp);
1085
1088
1086
-
let sql = "create index manual_swap_pool_timestamp_id on sgd217942.swap using btree (pool, \"timestamp\", id)";
1089
+
let sql = "create index manual_swap_pool_timestamp_id on sgd217942.swap using btree (\"pool\", \"timestamp\", \"id\")";
1087
1090
let exp = Parsed{
1088
1091
unique:false,
1089
1092
name:"manual_swap_pool_timestamp_id",
@@ -1095,7 +1098,7 @@ fn parse() {
1095
1098
};
1096
1099
parse_one(sql, exp);
1097
1100
1098
-
let sql = "CREATE INDEX brin_scy ON sgd314614.scy USING brin (\"block$\", vid)";
1101
+
let sql = "CREATE INDEX brin_scy ON sgd314614.scy USING brin (block$, vid)";
1099
1102
let exp = Parsed{
1100
1103
unique:false,
1101
1104
name:"brin_scy",
@@ -1107,8 +1110,7 @@ fn parse() {
1107
1110
};
1108
1111
parse_one(sql, exp);
1109
1112
1110
-
let sql =
1111
-
"CREATE INDEX brin_scy ON sgd314614.scy USING brin (\"block$\", vid) where (amount > 0)";
1113
+
let sql = "CREATE INDEX brin_scy ON sgd314614.scy USING brin (block$, vid) where (amount > 0)";
1112
1114
let exp = Parsed{
1113
1115
unique:false,
1114
1116
name:"brin_scy",
@@ -1121,7 +1123,7 @@ fn parse() {
1121
1123
parse_one(sql, exp);
1122
1124
1123
1125
let sql =
1124
-
"CREATE INDEX manual_token_random_cond ON sgd44.token USING btree (decimals) WHERE (decimals > (5)::numeric)";
1126
+
"CREATE INDEX manual_token_random_cond ON sgd44.token USING btree (\"decimals\") WHERE (decimals > (5)::numeric)";
0 commit comments