impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Hecht (Code Review)" <>
Subject [Impala-CR](cdh5-trunk) IMPALA-1878: Support INSERT and LOAD DATA on S3 and between filesystems
Date Fri, 29 Apr 2016 00:20:56 GMT
Dan Hecht has posted comments on this change.

Change subject: IMPALA-1878: Support INSERT and LOAD DATA on S3 and between filesystems

Patch Set 23:

File be/src/util/

Line 81: This is a helper function and is not declared in the header file. It returns
(the first sentence is obvious).

Line 88: file
Let's check for "file:" since there could conceivable be a scheme called fileotherstuff, and
change both 4 to 5s.  Also, this case should come first, so that "file:path" works okay.

And then I think after_scheme should be at occurrence of "://" since we're assuming the second
slash below (3 characters).

Line 90: after_scheme + 3
this is missing the dereference.  please add a test case to your unit test that catches this

Line 94: after_authority - path
is this off by one? i.e. hdfs://n/ should return 7, right?

It think this test case would catch the bug:


should compare equal but i think FilesystemMatch() currently false in that case?

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I94e15ad67752dce21c9b7c1dced6e114905a942d
Gerrit-PatchSet: 23
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Sailesh Mukil <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Henry Robinson <>
Gerrit-Reviewer: Michael Brown <>
Gerrit-Reviewer: Mostafa Mokhtar <>
Gerrit-Reviewer: Sailesh Mukil <>
Gerrit-Reviewer: Taras Bobrovytsky <>
Gerrit-HasComments: Yes

View raw message