-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix][python-function] Fix the failed CPP test CI caused by python function #15827
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
Closed
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
61d1769
[fix][python-function] Fix the failed CPP test CI caused by python fu…
zymap 9c3d596
Fix the license issue
zymap 23cd61b
Using as a workarounds
zymap e97b877
Skip the testPythonWordCountFunction to allow the ci passed
zymap 0d45bb8
Fix the connector tests
zymap File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1,606 changes: 110 additions & 1,496 deletions
1,606
pulsar-functions/instance/src/main/python/Function_pb2.py
Large diffs are not rendered by default.
Oops, something went wrong.
609 changes: 36 additions & 573 deletions
609
pulsar-functions/instance/src/main/python/InstanceCommunication_pb2.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| # | ||
| # Licensed to the Apache Software Foundation (ASF) under one | ||
| # or more contributor license agreements. See the NOTICE file | ||
| # distributed with this work for additional information | ||
| # regarding copyright ownership. The ASF licenses this file | ||
| # to you under the Apache License, Version 2.0 (the | ||
| # "License"); you may not use this file except in compliance | ||
| # with the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, | ||
| # software distributed under the License is distributed on an | ||
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| # KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations | ||
| # under the License. | ||
| # | ||
|
|
||
| # -*- coding: utf-8 -*- | ||
| # Generated by the protocol buffer compiler. DO NOT EDIT! | ||
| # source: Request.proto | ||
| """Generated protocol buffer code.""" | ||
| from google.protobuf import descriptor as _descriptor | ||
| from google.protobuf import descriptor_pool as _descriptor_pool | ||
| from google.protobuf import message as _message | ||
| from google.protobuf import reflection as _reflection | ||
| from google.protobuf import symbol_database as _symbol_database | ||
| # @@protoc_insertion_point(imports) | ||
|
|
||
| _sym_db = _symbol_database.Default() | ||
|
|
||
|
|
||
| import Function_pb2 as Function__pb2 | ||
|
|
||
|
|
||
| DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rRequest.proto\x12\x05proto\x1a\x0e\x46unction.proto\"\xec\x01\n\x0eServiceRequest\x12\x44\n\x12serviceRequestType\x18\x01 \x01(\x0e\x32(.proto.ServiceRequest.ServiceRequestType\x12\x11\n\trequestId\x18\x02 \x01(\t\x12\x31\n\x10\x66unctionMetaData\x18\x03 \x01(\x0b\x32\x17.proto.FunctionMetaData\x12\x10\n\x08workerId\x18\x04 \x01(\t\"<\n\x12ServiceRequestType\x12\n\n\x06UPDATE\x10\x00\x12\n\n\x06\x44\x45LETE\x10\x01\x12\x0e\n\nINITIALIZE\x10\x02\x42,\n!org.apache.pulsar.functions.protoB\x07Requestb\x06proto3') | ||
|
|
||
|
|
||
|
|
||
| _SERVICEREQUEST = DESCRIPTOR.message_types_by_name['ServiceRequest'] | ||
| _SERVICEREQUEST_SERVICEREQUESTTYPE = _SERVICEREQUEST.enum_types_by_name['ServiceRequestType'] | ||
| ServiceRequest = _reflection.GeneratedProtocolMessageType('ServiceRequest', (_message.Message,), { | ||
| 'DESCRIPTOR' : _SERVICEREQUEST, | ||
| '__module__' : 'Request_pb2' | ||
| # @@protoc_insertion_point(class_scope:proto.ServiceRequest) | ||
| }) | ||
| _sym_db.RegisterMessage(ServiceRequest) | ||
|
|
||
| if _descriptor._USE_C_DESCRIPTORS == False: | ||
|
|
||
| DESCRIPTOR._options = None | ||
| DESCRIPTOR._serialized_options = b'\n!org.apache.pulsar.functions.protoB\007Request' | ||
| _SERVICEREQUEST._serialized_start=41 | ||
| _SERVICEREQUEST._serialized_end=277 | ||
| _SERVICEREQUEST_SERVICEREQUESTTYPE._serialized_start=217 | ||
| _SERVICEREQUEST_SERVICEREQUESTTYPE._serialized_end=277 | ||
| # @@protoc_insertion_point(module_scope) |
This file contains hidden or 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 hidden or 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 hidden or 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
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.
Is this also required with
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python?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.
Yes. The function tests using python runtime will meet the same exception. I added the variable in the docker, and I will revert this change.