-
Notifications
You must be signed in to change notification settings - Fork 336
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
[BitSail][Features] Support list and map in current FileMappingTypeInfoConverter #345
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,16 +17,16 @@ engine.type.to.bitsail.type.converter: | |
- source.type: double | ||
target.type: double | ||
|
||
- source.type: int | ||
target.type: long | ||
- source.type: Int32 | ||
target.type: int | ||
|
||
- source.type: bigint | ||
target.type: long | ||
|
||
|
||
bitsail.type.to.engine.type.converter: | ||
- source.type: long | ||
target.type: long | ||
target.type: bigint | ||
|
||
- source.type: double | ||
target.type: double | ||
|
@@ -42,3 +42,34 @@ bitsail.type.to.engine.type.converter: | |
|
||
- source.type: bytes | ||
target.type: bytes | ||
|
||
- source.type: int | ||
target.type: Int32 | ||
|
||
|
||
engine.type.to.bitsail.complex.converter: | ||
- source.type: Array | ||
target.type: list | ||
|
||
- source.type: Map | ||
target.type: map | ||
|
||
- source.type: ( | ||
target.type: < | ||
|
||
- source.type: ) | ||
target.type: '>' | ||
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. maybe we didn't need this part, we can consider it as default 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. I do this because I want to leave an entry for connector developers so that they can make the engine type string as close as possible to the type description of the engine itself. I think this has two advantages:
@hk-lrzy look forwards ur further advice |
||
|
||
bitsail.type.to.engine.complex.converter: | ||
- source.type: list | ||
target.type: Array | ||
|
||
- source.type: map | ||
target.type: Map | ||
|
||
- source.type: < | ||
target.type: ( | ||
|
||
- source.type: '>' | ||
target.type: ) | ||
|
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.
maybe we didn't need this part, we can consider it as default