语法树
---------select语法树------------
[WITH CommonTableExpression (, CommonTableExpression)*]
SELECT [ALL | DISTINCT] select_expr, select_expr, ...
FROM table_reference
[WHERE where_condition]
[GROUP BY col_list]
[ORDER BY col_list]
[CLUSTER BY col_list
| [DISTRIBUTE BY col_list] [SORT BY col_list]
]
[LIMIT [offset,] rows];
示例数据:

示例:
select * from t_usa_covid19_p;
select county, cases, deaths from t_usa_covid19_p;
SET hive.support.quoted.identifiers = none; --反引号不在解释为其他含义,被解释为正则表达式



示例:



示例:


示例:

--多分区裁剪
select * from t_usa_covid19_p where count_date = "2021-01-28