Details
-
New Feature
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 1.2.3
Description
Hive can list the data files in a table. For eg the following query lists all the data files for the table or partition:
select INPUT__FILE__NAME, count(*) from <table_name> where dt='20140210' group by INPUT__FILE__NAME;
This has two advantages over the existing "show files" functionality:
- The output can be used in arbitrary SQL statements.
- You can see which record came from which file.
Attachments
Issue Links
- is duplicated by
-
IMPALA-11168 Add pseudo-columns for Impala
- Resolved