lib/bmg/sql/grammar.sexp.yml in bmg-0.17.2 vs lib/bmg/sql/grammar.sexp.yml in bmg-0.17.3
- old
+ new
@@ -22,14 +22,17 @@
intersect:
- [ set_quantifier, nonjoin_exp+ ]
join_exp:
- cross_join
- inner_join
+ - left_join
cross_join:
- [ table_spec, table_spec ]
inner_join:
- [ table_spec, table_spec, predicate ]
+ left_join:
+ - [ table_spec, table_spec, predicate ]
using:
- [ column_name+ ]
select_exp:
- [ set_quantifier,
[ select_list, select_star ],
@@ -74,10 +77,11 @@
- [ nonjoin_exp, range_var_name ]
scalar_exp:
- qualified_name
- column_name
- summarizer
+ - func_call
- literal
a_name:
- qualified_name
- column_name
qualified_name:
@@ -86,17 +90,23 @@
- [ name_rgx ]
summarizer:
- [ summary_func, qualified_name ]
summary_func:
- "::Symbol"
+ func_call:
+ - [ func_name, scalar_exp+ ]
+ func_name:
+ - "::Symbol"
table_name:
- [ name_rgx ]
range_var_name:
- [ name_rgx ]
limit_clause:
- [ integer ]
offset_clause:
- [ integer ]
+ default_right_tuple:
+ - "::Hash"
integer:
- "::Integer"
literal:
- "::Object"
name_rgx: