maoxd

Results 18 comments of maoxd

[reproduce-github-project](https://github.com/maoxingda/sqlfluff-diff-quality-pre-commit-hook-reproduce)

Our SQL does not have this kind of syntax. I just found this syntax when looking at the underlying sqlfluff, so I brought it up. Can be processed or not.

**Reference other similar products, for example: [https://sqlflow.gudusoft.com/#/](https://sqlflow.gudusoft.com/#/%22%E3%80%82)**

**Giving aliases t3 and t4 to cte1 and cte2 respectively does not yield the correct results.** ```sql insert into public.t3 ( c1 ) with cte1 as ( select t1.c1 from...

**When using the Redshift dialect and there is a 'join_clause' in the 'from_clause' of the 'set_expression,' the lineage is also incorrect.** ```sql insert into public.tgt_tbl1 ( id ) with cte1...

**Does the code on line 154 in the screenshot not take into account scenarios involving nested subqueries?** ![Snipaste_2023-11-27_14-12-09](https://github.com/reata/sqllineage/assets/39357378/a2984ca0-8af4-4e43-b17f-a58950c74460)

**When there are two subqueries with the same name in the set_expression, the column lineage is also incorrect.** ```sql insert into public.tgt_tbl1 ( id ) select sq.id from ( select...

1. 能举个例子么 2. 再说一下你的预期或者建议