Quanlong Huang has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/19429 )

Change subject: IMPALA-11845: Fix incorrect check of struct STAR path in 
resolvePathWithMasking
......................................................................


Patch Set 4:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/19429/3//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/19429/3//COMMIT_MSG@40
PS3, Line 40: tri
> Nit: tries
Done


http://gerrit.cloudera.org:8080/#/c/19429/3//COMMIT_MSG@50
PS3, Line 50: rooted tuple d
> Could you explain why the first condition is true for tables/views? Is it b
Yeah, needs the second point to better explain this. When it's a table/view 
STAR expansion, destType() of the STAR path is the type of the rooted tuple 
descriptor:
https://github.com/apache/impala/blob/9baf790606073d88c3a2fd431110812140df0cb7/fe/src/main/java/org/apache/impala/analysis/Path.java#L354

The type of a tuple descriptor is always a StructType:
https://github.com/apache/impala/blob/9baf790606073d88c3a2fd431110812140df0cb7/fe/src/main/java/org/apache/impala/analysis/TupleDescriptor.java#L88



--
To view, visit http://gerrit.cloudera.org:8080/19429
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I8f1e78e325baafbe23101909d47e82bf140a2d77
Gerrit-Change-Number: 19429
Gerrit-PatchSet: 4
Gerrit-Owner: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Daniel Becker <[email protected]>
Gerrit-Reviewer: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Comment-Date: Fri, 20 Jan 2023 02:32:35 +0000
Gerrit-HasComments: Yes

Reply via email to