-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
coral-schema: supporting projection of inner field of Record type by …
…implementing visitFieldAccess (#83) Co-authored-by: Wenye Zhang <[email protected]>
- Loading branch information
1 parent
04f9bdb
commit f3437d7
Showing
3 changed files
with
59 additions
and
2 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
19 changes: 19 additions & 0 deletions
19
coral-schema/src/test/resources/testProjectStructInnerField-expected.avsc
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"type" : "record", | ||
"name" : "v", | ||
"namespace" : "default.v", | ||
"fields" : [ { | ||
"name" : "Id_View_Col", | ||
"type" : "int" | ||
}, { | ||
"name" : "Struct_Inner_Bool_Col", | ||
"type" : "boolean" | ||
}, { | ||
"name" : "Struct_Inner_Int_Col", | ||
"type" : [ "null", "int" ], | ||
"default" : null | ||
}, { | ||
"name" : "Struct_Inner_Bigint_Col", | ||
"type" : "long" | ||
} ] | ||
} |