Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

[Gold Standard] Initial Code showing Hyperspace Indexes with a sample query #385

Open
wants to merge 36 commits into
base: master
Choose a base branch
from

Conversation

apoorvedave1
Copy link
Contributor

@apoorvedave1 apoorvedave1 commented Mar 18, 2021

What is the context for this pull request?

Gold Standard: Hyperspace code for creation of index metadata files and its use in Plan Stability test Suite.

What changes were proposed in this pull request?

In this PR:
TPCDSHyperspace suite extends PlanStabilitySuite

  • Ability to define indexes : indexname, tablename, indexed cols(comma-separated), included cols(comma-separated)
  • Create index metadata files (metadata files are enough for generating query plans)
  • A simple query with join between two tables on a key
  • Approved plans (golden files) for the simple query

Does this PR introduce any user-facing change?

No

How was this patch tested?

Unit tests

@apoorvedave1 apoorvedave1 changed the title [Gold Standard] Initial Code for showcasing Hyperspace Indexes with a sample query [Gold Standard] Initial Code showing Hyperspace Indexes with a sample query Mar 18, 2021
@apoorvedave1 apoorvedave1 mentioned this pull request Mar 18, 2021
6 tasks
@imback82
Copy link
Contributor

Should we just have code update + one query example?

@apoorvedave1
Copy link
Contributor Author

Should we just have code update + one query example?

@imback82 removed dependencies coming from the dependency PR. now this one contains only relevant files.

@imback82
Copy link
Contributor

Can you check the test failures?

@apoorvedave1
Copy link
Contributor Author

Can you check the test failures?

@imback82 thank you, I also cleaned up some other parts of the code. Please take a look.

@apoorvedave1 apoorvedave1 self-assigned this Mar 19, 2021
Copy link
Contributor

@imback82 imback82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it somehow possible to create a diff against simplified.txt (or explain.txt) without hyperspace? Otherwise, it's hard to see what has changed after applying hyperspace.

@imback82
Copy link
Contributor

One way is to diff the file and attach it to the PR?

@apoorvedave1
Copy link
Contributor Author

One way is to diff the file and attach it to the PR?

I added files for without hyperspace enabled and also with the diffs. Please let me know if we intend to keep them in the final version or is it just for the sake of validation in the PR.?

@imback82
Copy link
Contributor

I added files for without hyperspace enabled and also with the diffs. Please let me know if we intend to keep them in the final version or is it just for the sake of validation in the PR.?

This is just for the PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants