Tim Armstrong has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/15887 )

Change subject: IMPALA-9669: Fix wrong table types for GET_TABLES in 
LocalCatalog
......................................................................


Patch Set 1: Code-Review+1

(2 comments)

http://gerrit.cloudera.org:8080/#/c/15887/1/fe/src/main/java/org/apache/impala/service/MetadataOp.java
File fe/src/main/java/org/apache/impala/service/MetadataOp.java:

http://gerrit.cloudera.org:8080/#/c/15887/1/fe/src/main/java/org/apache/impala/service/MetadataOp.java@419
PS1, Line 419: getOrDefault(tableTypeStr, TABLE_TYPE_TABLE)
> Yeah, it's a bad default value but it's our current behavior... From the jd
I agree with Quanlong - I don't like this at all, but it's not worth breaking 
clients en route to the proper fix (we'd need to figure out the impact on 
different clients if we were going to do that).


http://gerrit.cloudera.org:8080/#/c/15887/1/tests/hs2/test_hs2.py
File tests/hs2/test_hs2.py:

http://gerrit.cloudera.org:8080/#/c/15887/1/tests/hs2/test_hs2.py@476
PS1, Line 476:         for j in range(2):
Maybe comment on what it's looping over and the order in which the table/view 
are returned?



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I2180c603f061838347936f718cd4a0257d82e633
Gerrit-Change-Number: 15887
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>
Gerrit-Reviewer: Vihang Karajgaonkar <[email protected]>
Gerrit-Comment-Date: Tue, 12 May 2020 17:52:09 +0000
Gerrit-HasComments: Yes

Reply via email to