[email protected] has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/17878


Change subject: IMPALA-10934: Enable table definition over a single file
......................................................................

IMPALA-10934: Enable table definition over a single file

Implements an abstraction layer to show files in a single directory.

Suppose that the filesystem has a directory in which there are multiple files:
 file://somedir/f1.txt
 file://somedir/f2.txt

In case of a HMS backed table(s) - the contents of a directory could be 
considered as table.

This patch enables to use sfs+ wrappers to show a single file as a single file 
in a directory.
The directory which contains the file could be specified:
  sfs+file://somedir/f1.txt/SINGLEFILE

This will be a directory containing only the f1.txt and nothing else.

(cherry picked from commit 998d5a8d72203c9ffead700b2e420049108417c3)
Change-Id: I32be936243aa4c8320f5d06d2b7fbf98822f82e7
---
M be/src/exec/hdfs-table-sink.cc
M be/src/runtime/io/disk-io-mgr-test.cc
M be/src/runtime/io/disk-io-mgr.cc
M be/src/runtime/io/disk-io-mgr.h
M be/src/util/hdfs-util.cc
M be/src/util/hdfs-util.h
M 
fe/src/main/java/org/apache/impala/authorization/ranger/RangerAuthorizationChecker.java
M fe/src/main/java/org/apache/impala/common/FileSystemUtil.java
M java/shaded-deps/hive-exec/pom.xml
9 files changed, 37 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/78/17878/1
--
To view, visit http://gerrit.cloudera.org:8080/17878
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I32be936243aa4c8320f5d06d2b7fbf98822f82e7
Gerrit-Change-Number: 17878
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <[email protected]>

Reply via email to