New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HIVE-24397 : Add the projection specification to the table request object and add placeholders in ObjectStore.java #1681
Conversation
…ject and add placeholders in ObjectStore.java
…ject and add placeholders in ObjectStore.java Implement the placeholders in ObjectStore.java
…ject and add placeholders in ObjectStore.java When the projection specification is NULL, all the tables should be returned. Update the test case in TestTablesGetExists.java to reflect this.
…ject and add placeholders in ObjectStore.java Remove whitespace diff in TestGetPartitionsUsingProjectionAndFilterSpecs.java
…ject and add placeholders in ObjectStore.java Added capability to validate projection fields on the table.
…ject and add placeholders in ObjectStore.java Create the getTables method and change it to return a TablesResult instead of List<String>.
…ject and add placeholders in ObjectStore.java Addressing comments.
…ject and add placeholders in ObjectStore.java Addressing comments.
…ject and add placeholders in ObjectStore.java getTables API should not use Request and Result thrift objects.
…ject and add placeholders in ObjectStore.java Changed TestTablesGetExists back into a checkin test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vnhive Change looks good to me. +1.
Could please create a sub-task for this jira to also provide a CachedStore implementation for this optimization. Metadata caching combined with projection filter support could improve performance dramatically. Thank you
Fix has been merged to master. Thank you @vnhive |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
HIVE-24397 : Add the projection specification to the table request object and add placeholders in ObjectStore.java
The GetProjectionsSpec object is added to GetTablesRequest. The projection specification are passed down
to the RawStore implementations to enable creating a subset of the columns that are returned.
This patch does not introduce any customer facing changes.