-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Fix][Connector-V2] Field information lost during Paimon DataType and SeaTunnel Column conversion #6767
Merged
hailin0
merged 16 commits into
apache:dev
from
TongchengOpenSource:paimon_catalog_basetype
May 23, 2024
Merged
[Fix][Connector-V2] Field information lost during Paimon DataType and SeaTunnel Column conversion #6767
Changes from 12 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
6c102ae
paimon catalog basetype
4a5431f
replace dead links
fb43528
Merge branch 'dev' into paimon_catalog_basetype
2d1cb44
remove PaimonType
0e91978
add test case
8036acb
remove CommonErrorCodeDeprecated
548e68a
reuse unsupportedDataType
6e3f204
unsupportedArrayGenericType add fieldname
bdb4b77
fix
ea955f3
fix
760fb29
Merge branch 'dev' into paimon_catalog_basetype
3915e36
optimize code
a7c0649
double range validation
e57182c
remove UNSUPPORTED_DATA_TYPE_SIMPLE
b068137
Merge branch 'dev' into paimon_catalog_basetype
f162b5e
code style
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -49,14 +49,17 @@ public enum CommonErrorCode implements SeaTunnelErrorCode { | |||
WRITE_SEATUNNEL_ROW_ERROR( | ||||
"COMMON-23", | ||||
"<connector> write SeaTunnelRow failed, the SeaTunnelRow value is '<seaTunnelRow>'."), | ||||
|
||||
SQL_TEMPLATE_HANDLED_ERROR( | ||||
"COMMON-24", | ||||
"The table of <tableName> has no <keyName>, but the template \n <template> \n which has the place holder named <placeholder>. Please use the option named <optionName> to specify sql template"), | ||||
|
||||
VERSION_NOT_SUPPORTED("COMMON-25", "<identifier> <version> is unsupported."), | ||||
|
||||
OPERATION_NOT_SUPPORTED("COMMON-26", "<identifier> <operation> is unsupported."); | ||||
OPERATION_NOT_SUPPORTED("COMMON-26", "<identifier> <operation> is unsupported."), | ||||
UNSUPPORTED_DATA_TYPE_SIMPLE("COMMON-27", "'<identifier>' unsupported data type '<dataType>'"), | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
UNSUPPORTED_ARRAY_GENERIC_TYPE( | ||||
"COMMON-28", | ||||
"'<identifier>' array type not support genericType '<genericType>' of '<fieldName>'"), | ||||
UNSUPPORTED_ROW_KIND( | ||||
"COMMON-29", "'<identifier>' table '<tableId>' not support rowKind '<rowKind>'"); | ||||
|
||||
private final String code; | ||||
private final String description; | ||||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please reuse
public static SeaTunnelRuntimeException unsupportedDataType( String identifier, String dataType, String field)
. Because we should make sure user know which field can not supported.