-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PARQUET-2037: Write INT96 with parquet-avro (#901)
- Loading branch information
1 parent
a3a1ad4
commit c72862b
Showing
5 changed files
with
161 additions
and
22 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
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
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,80 @@ | ||
{ | ||
"name": "fixedToInt96", | ||
"namespace": "org.apache.parquet.avro", | ||
"type": "record", | ||
"fields": [ | ||
{ | ||
"name": "int96", | ||
"type": { | ||
"type": "fixed", | ||
"name": "ignored1", | ||
"namespace": "", | ||
"size": 12 | ||
} | ||
}, | ||
{ | ||
"name": "notanint96", | ||
"type": { | ||
"type": "fixed", | ||
"name": "ignored2", | ||
"namespace": "", | ||
"size": 12 | ||
} | ||
}, | ||
{ | ||
"name": "mynestedrecord", | ||
"type": { | ||
"type": "record", | ||
"name": "ignored3", | ||
"namespace": "", | ||
"fields": [ | ||
{ | ||
"name": "int96inrecord", | ||
"type": { | ||
"type": "fixed", | ||
"name": "ignored4", | ||
"namespace": "", | ||
"size": 12 | ||
} | ||
}, | ||
{ | ||
"name": "myarrayofoptional", | ||
"type": { | ||
"type": "array", | ||
"items": [ | ||
"null", | ||
{ | ||
"type": "fixed", | ||
"name": "ignored5", | ||
"namespace": "", | ||
"size": 12 | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "mymap", | ||
"type": { | ||
"type": "map", | ||
"values": { | ||
"type": "fixed", | ||
"name": "ignored6", | ||
"namespace": "", | ||
"size": 12 | ||
} | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "onebytefixed", | ||
"type": { | ||
"type": "fixed", | ||
"name": "ignored7", | ||
"namespace": "", | ||
"size": 1 | ||
} | ||
} | ||
] | ||
} |