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

feat: Implement schemaProvider for UDTFs #3690

Merged
merged 3 commits into from
Nov 1, 2019

Conversation

purplefox
Copy link
Contributor

Description

Fixes: #3688

This PR is in a stack. The previous PR is #3689. please don't review the commits from the previous PR you will see in here.

This PR implements @schemaProvider for UDTFs. To avoid code duplication with KsqlFunction which does the same, KsqlFunction and KsqlTableFunction both inherit from KsqlBaseFunction which contains the shared implementation.

Testing done

Added some more tests for invalid UDTFs
Added some tests for UDTFs with SchemaProvider annotation
Improved QTT tests

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@purplefox purplefox requested a review from a team as a code owner October 28, 2019 22:26
@purplefox purplefox requested a review from agavra October 28, 2019 22:43
@purplefox purplefox force-pushed the schema_provider_5 branch 2 times, most recently from ef8270b to eaa51bf Compare October 29, 2019 01:05
@purplefox purplefox force-pushed the schema_provider_5 branch 2 times, most recently from 11231b2 to d0543c3 Compare October 29, 2019 23:34
@purplefox purplefox changed the base branch from master to 5.4.x October 30, 2019 19:43
@purplefox purplefox requested a review from JimGalasyn as a code owner October 30, 2019 19:57
Copy link
Contributor

@agavra agavra left a comment

Choose a reason for hiding this comment

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

comments from before the rebase - I'm reviewing from the top again now

Copy link
Contributor

@agavra agavra left a comment

Choose a reason for hiding this comment

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

LGTM! Some minor comments. Maybe also get @vpapavas' eyes on this one.

@purplefox purplefox merged commit 4e66825 into confluentinc:5.4.x Nov 1, 2019
purplefox added a commit to purplefox/ksql that referenced this pull request Nov 1, 2019
This commit allows schemaProvider to be used when specifying return values for UDTFs in the same way as UDFs.
purplefox added a commit to purplefox/ksql that referenced this pull request Nov 1, 2019
This commit allows schemaProvider to be used when specifying return values for UDTFs in the same way as UDFs.
purplefox added a commit to purplefox/ksql that referenced this pull request Nov 2, 2019
This commit allows schemaProvider to be used when specifying return values for UDTFs in the same way as UDFs.
purplefox added a commit to purplefox/ksql that referenced this pull request Nov 2, 2019
This commit allows schemaProvider to be used when specifying return values for UDTFs in the same way as UDFs.
@purplefox purplefox deleted the schema_provider_5 branch January 26, 2020 22:12
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