mirror of
https://github.com/apache/impala.git
synced 2026-01-07 09:02:19 -05:00
Currently, we only consider files hidden if they have the special prefixes "." or "_". However, some tools use special suffixes to indicate a file is being operated on, and should be considered invisible. This patch adds the following hidden suffixes: '.tmp' - Flume's default for temp files '.copying' - hdfs put may produce these Change-Id: I151eafd0286fa91e062407e12dd71cfddd442430 Reviewed-on: http://gerrit.cloudera.org:8080/80 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Internal Jenkins
20 lines
516 B
Plaintext
20 lines
516 B
Plaintext
====
|
|
---- QUERY
|
|
show partitions hidden_files_db.hf
|
|
---- LABELS
|
|
YEAR, MONTH, #ROWS, #FILES, SIZE, BYTES CACHED, CACHE REPLICATION, FORMAT, INCREMENTAL STATS
|
|
---- RESULTS
|
|
'2010','1',-1,1,'20.36KB','NOT CACHED','NOT CACHED','TEXT','false'
|
|
'2010','2',-1,0,'0B','NOT CACHED','NOT CACHED','TEXT','false'
|
|
'Total','',-1,1,'20.36KB','0B','','',''
|
|
---- TYPES
|
|
STRING, STRING, BIGINT, BIGINT, STRING, STRING, STRING, STRING, STRING
|
|
====
|
|
---- QUERY
|
|
select count(*) from hidden_files_db.hf
|
|
---- RESULTS
|
|
310
|
|
---- TYPES
|
|
BIGINT
|
|
====
|