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

Rebrand HiveConvertletTable to CoralConvertletTable #518

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

KevinGe00
Copy link
Contributor

What changes are proposed in this pull request, and why are they necessary?

As part of Coral IR improvement work, we want to remove any language specific transformations in the RelNode layer. This PR replaces HiveConvertletTable to CoralConvertletTable, as we still need RelNode layer transformations to happen in CoralConvertletTable that only specific to keeping Coral IR consistent through CoralSqlNode1 -> CoralRelNode -> CoralSqlNode2.

How was this patch tested?

clean build

Copy link
Collaborator

@1fanwang 1fanwang left a comment

Choose a reason for hiding this comment

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

LGTM

* @see ReflectiveConvertletTable documentation for method naming and visibility rules
*/
public class HiveConvertletTable extends ReflectiveConvertletTable {
public class CoralConvertletTable extends ReflectiveConvertletTable {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we can move it to coral-common?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There's a few newly "Coral IR specific" classes still in coral-hive such as CoralINOperator and CoralRelToSqlNodeConverter. The plan is to refactor these correctly in one future PR.

@KevinGe00 KevinGe00 merged commit f817412 into linkedin:master Jul 24, 2024
1 check passed
KevinGe00 added a commit to KevinGe00/coral that referenced this pull request Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants