Todd Lipcon has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/10913 )

Change subject: IMPALA-7276. Support CREATE TABLE AS SELECT with LocalCatalog
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/10913/3/fe/src/main/java/org/apache/impala/catalog/local/LocalFsTable.java
File fe/src/main/java/org/apache/impala/catalog/local/LocalFsTable.java:

http://gerrit.cloudera.org:8080/#/c/10913/3/fe/src/main/java/org/apache/impala/catalog/local/LocalFsTable.java@114
PS3, Line 114: load them?
> what would be loaded... this is a new table if I've understood it correctly
yea, the target table is sort of an odd temporary catalog entry which doesn't 
actually have an entry in the HMS. I was afraid that, if someone someone uses 
this method to create an instance, and then ends up calling getPartitions(), 
we'll end up making an HMS API call to get partitions for a table and throw an 
error like TableDoesNotExistException. Was thinking of either a new subclass or 
adding some kind of boolean isCtasTarget_ to assert against to make sure we 
don't do something like that. I'll elaborate.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I93937aed9b76ef6a62b1c588c59c34d3d6831a46
Gerrit-Change-Number: 10913
Gerrit-PatchSet: 3
Gerrit-Owner: Todd Lipcon <t...@apache.org>
Gerrit-Reviewer: Csaba Ringhofer <csringho...@cloudera.com>
Gerrit-Reviewer: Tianyi Wang <tw...@cloudera.com>
Gerrit-Reviewer: Todd Lipcon <t...@apache.org>
Gerrit-Reviewer: Vuk Ercegovac <vercego...@cloudera.com>
Gerrit-Comment-Date: Thu, 19 Jul 2018 00:11:31 +0000
Gerrit-HasComments: Yes

Reply via email to