Merge pull request #22551 from taosdata/szhou/tags-after-distinct

fix: select distinct/all tags instead of select tags distinct
This commit is contained in:
dapan1121 2023-08-25 11:21:01 +08:00 committed by GitHub
commit 178e32fe08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1317 additions and 132 deletions

View File

@ -356,9 +356,6 @@
#define TK_WAL 338
#define TK_NK_SPACE 600
#define TK_NK_COMMENT 601
#define TK_NK_ILLEGAL 602

View File

@ -1009,7 +1009,7 @@ join_type(A) ::= INNER.
/************************************************ query_specification *************************************************/
query_specification(A) ::=
SELECT hint_list(M) tag_mode_opt(N) set_quantifier_opt(B) select_list(C) from_clause_opt(D)
SELECT hint_list(M) set_quantifier_opt(B) tag_mode_opt(N) select_list(C) from_clause_opt(D)
where_clause_opt(E) partition_by_clause_opt(F) range_opt(J) every_opt(K)
fill_opt(L) twindow_clause_opt(G) group_by_clause_opt(H) having_clause_opt(I). {
A = createSelectStmt(pCxt, B, C, D, M);

File diff suppressed because it is too large Load Diff