From 760b560fee03b4474d37c3c8cf86a41b9997ac97 Mon Sep 17 00:00:00 2001 From: Chenyang Huang Date: Sat, 24 Aug 2019 04:23:25 -0400 Subject: [PATCH] Update process_sql.py There are minor mistakes in the documentation at the beginning. --- process_sql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/process_sql.py b/process_sql.py index 5c028d1..f8d140b 100644 --- a/process_sql.py +++ b/process_sql.py @@ -4,10 +4,10 @@ # 2. only table name has alias # 3. only one intersect/union/except # -# val: number(float)/string(str)/sql(dict) +# val: number(float)/string(str)/sql(dict)/col_unit # col_unit: (agg_id, col_id, isDistinct(bool)) # val_unit: (unit_op, col_unit1, col_unit2) -# table_unit: (table_type, col_unit/sql) +# table_unit: (table_type, col_id/sql) # cond_unit: (not_op, op_id, val_unit, val1, val2) # condition: [cond_unit1, 'and'/'or', cond_unit2, ...] # sql {