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

[function_worker] Fix deploy of WindowFunctions #6246

Merged
merged 1 commit into from
Feb 16, 2020

Conversation

seeday
Copy link
Contributor

@seeday seeday commented Feb 6, 2020

This causes WindowFunctions not to be deployable from pulsar-admin.

Motivation

In pulsar 2.5.0 deploying window functions fails because its class doesn't pass validation.
The behavior looks the same in current master.

Modifications

Add WindowFunction.class to the list of allowed function classes

Verifying this change

  • Make sure that the change passes the CI checks.

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): no
  • The public API: no
  • The schema: no
  • The default values of configurations: no
  • The wire protocol: no
  • The rest endpoints: no
  • The admin cli options: no
  • Anything that affects deployment: no

Documentation

  • Does this pull request introduce a new feature? no
  • If yes, how is the feature documented? n/a
  • If a feature is not applicable for documentation, explain why? bug, not feature
  • If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Copy link
Member

@sijie sijie left a comment

Choose a reason for hiding this comment

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

interesting. it seems that we don't have an integration test to cover window function. does it? @jerrypeng

@sijie
Copy link
Member

sijie commented Feb 14, 2020

/pulsarbot run-failure-checks

1 similar comment
@sijie
Copy link
Member

sijie commented Feb 14, 2020

/pulsarbot run-failure-checks

@sijie sijie merged commit 47b944b into apache:master Feb 16, 2020
tuteng pushed a commit to AmateurEvents/pulsar that referenced this pull request Feb 23, 2020
### Motivation

In pulsar 2.5.0 deploying window functions fails because its class doesn't pass validation.
The behavior looks the same in current master.

### Modifications

Add `WindowFunction.class` to the list of allowed function classes
tuteng pushed a commit to AmateurEvents/pulsar that referenced this pull request Mar 21, 2020
### Motivation

In pulsar 2.5.0 deploying window functions fails because its class doesn't pass validation.
The behavior looks the same in current master.

### Modifications

Add `WindowFunction.class` to the list of allowed function classes

(cherry picked from commit 47b944b)
tuteng pushed a commit that referenced this pull request Apr 13, 2020
### Motivation

In pulsar 2.5.0 deploying window functions fails because its class doesn't pass validation.
The behavior looks the same in current master.

### Modifications

Add `WindowFunction.class` to the list of allowed function classes

(cherry picked from commit 47b944b)
jiazhai pushed a commit to jiazhai/pulsar that referenced this pull request May 18, 2020
### Motivation

In pulsar 2.5.0 deploying window functions fails because its class doesn't pass validation.
The behavior looks the same in current master.

### Modifications

Add `WindowFunction.class` to the list of allowed function classes
(cherry picked from commit 47b944b)
huangdx0726 pushed a commit to huangdx0726/pulsar that referenced this pull request Aug 24, 2020
### Motivation

In pulsar 2.5.0 deploying window functions fails because its class doesn't pass validation.
The behavior looks the same in current master.

### Modifications

Add `WindowFunction.class` to the list of allowed function classes
@seeday seeday deleted the window-fn-fix branch September 16, 2020 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants