forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ingest): fix logic error of google protobuf wrapper type. (datahu…
…b-project#7076) Co-authored-by: david-leifker <[email protected]>
- Loading branch information
1 parent
f503902
commit a5107fa
Showing
4 changed files
with
33 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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 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
11 changes: 11 additions & 0 deletions
11
...ata-integration/java/datahub-protobuf/src/test/resources/extended_protobuf/messageC.proto
This file contains 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 |
---|---|---|
@@ -1,14 +1,25 @@ | ||
syntax = "proto3"; | ||
package extended_protobuf; | ||
|
||
import "google/protobuf/wrappers.proto"; | ||
|
||
|
||
message UserMsg { | ||
message UserInfo { | ||
string nickname = 1; // nickname info | ||
string profile_url = 2; // profile url info | ||
} | ||
|
||
message AddressMsg { | ||
google.protobuf.StringValue zipcode = 1; // Zip code, alphanumeric | ||
google.protobuf.StringValue city = 2; // City corresponding to zip code | ||
google.protobuf.StringValue country = 3; // County | ||
} | ||
|
||
string id = 1; // user id | ||
string name = 2; // user name | ||
UserInfo user_info = 3; // user info | ||
|
||
// address | ||
AddressMsg address = 4; | ||
} |
Binary file modified
BIN
+5.08 KB
(860%)
...ta-integration/java/datahub-protobuf/src/test/resources/extended_protobuf/messageC.protoc
Binary file not shown.