We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bc4388 commit 8fd5d20Copy full SHA for 8fd5d20
1 file changed
src/parser.pegjs
@@ -7053,7 +7053,7 @@ modified_data_type
7053
= &postgres type:(time_data_type / interval_data_type) {
7054
return type;
7055
}
7056
- / &bigquery type:(bigquery_array_type / bigquery_struct_type / bigquery_table_type) {
+ / &bigquery type:parametric_data_type {
7057
7058
7059
/ dataType:data_type_name modifiers:(__ paren$list$expr)? {
@@ -7084,6 +7084,9 @@ interval_data_type
7084
});
7085
7086
7087
+parametric_data_type
7088
+ = bigquery_array_type / bigquery_struct_type / bigquery_table_type
7089
+
7090
bigquery_array_type
7091
= kw:ARRAY params:(__ generic_type_params)? {
7092
return loc({ type: "parametric_data_type", typeKw: read(kw), params: read(params) });
0 commit comments