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

Fix the type information of source funtion and add tests #780

Merged
merged 1 commit into from
Mar 9, 2022

Conversation

ashulin
Copy link
Member

@ashulin ashulin commented Jan 6, 2022

Snipaste_2022-01-05_21-26-41
During the test, I found that the typeInfo created by the OracleTableSource was incorrect, because the producedDataType processed by #applyReadableMetadata was not used.

I added a test method to ensure that the data type of the source funtion matches the expected schema data type.

@ashulin
Copy link
Member Author

ashulin commented Jan 6, 2022

@leonardBang Please code review.

@ashulin
Copy link
Member Author

ashulin commented Feb 18, 2022

@luoyuxia Please code review.

@leonardBang leonardBang self-requested a review February 18, 2022 09:26
Copy link
Contributor

@leonardBang leonardBang left a comment

Choose a reason for hiding this comment

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

Thanks @ashulin for the contribution, I left some comments about the assertSourceFunction, other parts looks good to me.

@leonardBang leonardBang force-pushed the fix-metadata-produced-data-type branch from 0ace14a to a2dc8bf Compare March 9, 2022 08:19
@leonardBang
Copy link
Contributor

@ashulin Thanks for the contribution, I help rebase and update the tests, will merge once the ci passed ^_^

@leonardBang
Copy link
Contributor

The failed test is not related to current PR, I've create an issue #919 to track it. merging...

@leonardBang leonardBang merged commit a8879bf into apache:master Mar 9, 2022
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.

None yet

2 participants