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

Allow using legacy Hive view translation logic #6195

Merged

Conversation

losipiuk
Copy link
Member

@losipiuk losipiuk commented Dec 3, 2020

No description provided.

@cla-bot cla-bot bot added the cla-signed label Dec 3, 2020
@losipiuk losipiuk requested review from findepi and phd3 December 3, 2020 18:16
@@ -38,7 +38,7 @@
ImmutableNationTable.class,
ImmutableOrdersTable.class,
})
public class TestHiveViews
public abstract class BaseTestHiveViews
Copy link
Member Author

Choose a reason for hiding this comment

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

I am not super convinced that we need this base class.
Maybe just leave TestHiveViews as is, and use it for testing default configuration (with Coral).
And add TestHiveViewsLegacy based on how TestHiveViews looked before Coral was introduced.

Copy link
Member

Choose a reason for hiding this comment

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

That would work too.

@losipiuk losipiuk force-pushed the lo/allow-old-hive-view-translation branch from 4a616eb to 05822c4 Compare December 3, 2020 18:22
}

@Test(groups = HIVE_VIEWS)
public void testShowCreateView()
Copy link
Member

Choose a reason for hiding this comment

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

Did you mean to inherit these tests from the base class?

Copy link
Member Author

Choose a reason for hiding this comment

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

Those are slightly differnt actually.
On the second though I decided to just have separate test classes and drop common base.

@losipiuk losipiuk force-pushed the lo/allow-old-hive-view-translation branch from 05822c4 to 1883af4 Compare December 3, 2020 19:40
@losipiuk losipiuk merged commit 16c38d0 into trinodb:master Dec 3, 2020
@losipiuk losipiuk mentioned this pull request Dec 9, 2020
9 tasks
@martint martint added this to the 348 milestone Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants