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

[#1455] improvement(all) Refactor catalog property mapping to engine property #1458

Merged
merged 28 commits into from
Jan 18, 2024

Conversation

yuqi1129
Copy link
Contributor

What changes were proposed in this pull request?

Use the new PropertyConverter in catalog-common to replace the old one.

Why are the changes needed?

We must provide a uniform property mapping system between Gravitino and the query engine.
Fix: #1455

Does this PR introduce any user-facing change?

N/A.

How was this patch tested?

Existing test can cover this change.

@yuqi1129 yuqi1129 marked this pull request as draft January 11, 2024 14:00
@yuqi1129 yuqi1129 self-assigned this Jan 12, 2024
@yuqi1129 yuqi1129 marked this pull request as ready for review January 15, 2024 12:49
@yuqi1129 yuqi1129 requested a review from diqiu50 January 17, 2024 01:54
@yuqi1129 yuqi1129 requested a review from jerryshao January 17, 2024 01:54
propertyEntry.decode(entry.getValue().toString());
}
gravitinoProperties.put(gravitinoKey, entry.getValue());
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we throw an exception when the gravitinoKey is null?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would like the implementor to overwrite it and change the policy regarding null values.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will log the key with null value here.

@yuqi1129 yuqi1129 requested a review from diqiu50 January 18, 2024 02:06
Copy link
Contributor

@diqiu50 diqiu50 left a comment

Choose a reason for hiding this comment

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

LGMT

@yuqi1129 yuqi1129 merged commit 26bb210 into apache:main Jan 18, 2024
12 checks passed
@yuqi1129 yuqi1129 deleted the issue_1455 branch January 18, 2024 07:03
mchades pushed a commit to mchades/gravitino that referenced this pull request Jan 19, 2024
…ngine property (apache#1458)

### What changes were proposed in this pull request?

Use the new `PropertyConverter` in `catalog-common` to replace the old
one.

### Why are the changes needed?

We must provide a uniform property mapping system between Gravitino and
the query engine.
Fix: apache#1455 

### Does this PR introduce _any_ user-facing change?

N/A.

### How was this patch tested?

Existing test can cover this change.
mchades pushed a commit to mchades/gravitino that referenced this pull request Jan 24, 2024
…ngine property (apache#1458)

### What changes were proposed in this pull request?

Use the new `PropertyConverter` in `catalog-common` to replace the old
one.

### Why are the changes needed?

We must provide a uniform property mapping system between Gravitino and
the query engine.
Fix: apache#1455 

### Does this PR introduce _any_ user-facing change?

N/A.

### How was this patch tested?

Existing test can cover this change.
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.

[Improvement] Optimize Trino connector property mapping system
2 participants