Skip to content
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

Closed
wants to merge 11 commits into from

Conversation

vnhive
Copy link
Contributor

@vnhive vnhive commented Nov 17, 2020

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.

@vnhive vnhive changed the title Hive 24397 Hive-24397 : Add the projection specification to the table request object and add placeholders in ObjectStore.java Nov 17, 2020
@vnhive vnhive changed the title Hive-24397 : Add the projection specification to the table request object and add placeholders in ObjectStore.java HIVE-24397 : Add the projection specification to the table request object and add placeholders in ObjectStore.java Nov 23, 2020
…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.
Copy link
Contributor

@nrg4878 nrg4878 left a 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

@nrg4878
Copy link
Contributor

nrg4878 commented Dec 4, 2020

Fix has been merged to master. Thank you @vnhive

@github-actions
Copy link

github-actions bot commented Feb 3, 2021

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.
Feel free to reach out on the dev@hive.apache.org list if the patch is in need of reviews.

@github-actions github-actions bot added the stale label Feb 3, 2021
@github-actions github-actions bot closed this Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants