Uh oh!
There was an error while loading. Please reload this page.
[SPARK-18103] [SQL] Rename *FileCatalog to *FileIndex - #15634
Conversation
SparkQA
commented
Oct 26, 2016
Test build #67544 has finished for PR 15634 at commit
|
marmbrus
commented
Oct 26, 2016
This is okay, but note that "Provider" is equally overloaded in the Data Source API. |
ericl
commented
Oct 26, 2016
Hmm, any other suggestions? |
rxin
commented
Oct 26, 2016
FileLister? FileListing? |
How about |
ericl
commented
Oct 27, 2016
Concretely, I propose renaming I think this would make the differences between these classes more clear. Previously, the name was only loosely tied with their behavior. |
rxin
commented
Oct 28, 2016
FileIndex sounds good to me. I wouldn't call it "Metastore" though, since that is a Hive specific term. I'd call it Catalog. |
0776537 to
b6654f1CompareSparkQA
commented
Oct 28, 2016
Test build #67717 has finished for PR 15634 at commit
|
SparkQA
commented
Oct 28, 2016
Test build #67718 has finished for PR 15634 at commit
|
rxin
commented
Oct 29, 2016
LGTM pending tests. |
SparkQA
commented
Oct 29, 2016
Test build #67747 has finished for PR 15634 at commit
|
rxin
commented
Oct 30, 2016
Merging in master. |
## What changes were proposed in this pull request? To reduce the number of components in SQL named *Catalog, rename *FileCatalog to *FileIndex. A FileIndex is responsible for returning the list of partitions / files to scan given a filtering expression. ``` TableFileCatalog => CatalogFileIndex FileCatalog => FileIndex ListingFileCatalog => InMemoryFileIndex MetadataLogFileCatalog => MetadataLogFileIndex PrunedTableFileCatalog => PrunedInMemoryFileIndex ``` cc yhuai marmbrus ## How was this patch tested? N/A Author: Eric Liang <ekl@databricks.com> Author: Eric Liang <ekhliang@gmail.com> Closesapache#15634 from ericl/rename-file-provider.
…to `MetadataLogFileIndex` ## What changes were proposed in this pull request? This is a follow-up to apache#15634. ## How was this patch tested? N/A Author: Liwei Lin <lwlin7@gmail.com> Closesapache#15712 from lw-lin/18103.
## What changes were proposed in this pull request? To reduce the number of components in SQL named *Catalog, rename *FileCatalog to *FileIndex. A FileIndex is responsible for returning the list of partitions / files to scan given a filtering expression. ``` TableFileCatalog => CatalogFileIndex FileCatalog => FileIndex ListingFileCatalog => InMemoryFileIndex MetadataLogFileCatalog => MetadataLogFileIndex PrunedTableFileCatalog => PrunedInMemoryFileIndex ``` cc yhuai marmbrus ## How was this patch tested? N/A Author: Eric Liang <ekl@databricks.com> Author: Eric Liang <ekhliang@gmail.com> Closesapache#15634 from ericl/rename-file-provider.
…to `MetadataLogFileIndex` ## What changes were proposed in this pull request? This is a follow-up to apache#15634. ## How was this patch tested? N/A Author: Liwei Lin <lwlin7@gmail.com> Closesapache#15712 from lw-lin/18103.
What changes were proposed in this pull request?
To reduce the number of components in SQL named *Catalog, rename *FileCatalog to *FileIndex. A FileIndex is responsible for returning the list of partitions / files to scan given a filtering expression.
cc @yhuai@marmbrus
How was this patch tested?
N/A