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
Arrow: Add tstype to arrow metadata #580
Merged
Merged
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ import ( | |
// See NewField() for supported types. | ||
// | ||
// The slice data in the Field is a not exported, so methods on the Field are used to to manipulate its data. | ||
// | ||
//swagger:model | ||
type Field struct { | ||
// Name is default identifier of the field. The name does not have to be unique, but the combination | ||
|
@@ -38,15 +39,24 @@ type Fields []*Field | |
// NewField returns a instance of *Field. Supported types for values are: | ||
// | ||
// Integers: | ||
// []int8, []*int8, []int16, []*int16, []int32, []*int32, []int64, []*int64 | ||
// | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In an effort to keep the "real" PR smaller and more legible, this is batching all the auto-formatting updates into this PR 😬 |
||
// []int8, []*int8, []int16, []*int16, []int32, []*int32, []int64, []*int64 | ||
// | ||
// Unsigned Integers: | ||
// []uint8, []*uint8, []uint16, []*uint16, []uint32, []*uint32, []uint64, []*uint64 | ||
// | ||
// []uint8, []*uint8, []uint16, []*uint16, []uint32, []*uint32, []uint64, []*uint64 | ||
// | ||
// Floats: | ||
// []float32, []*float32, []float64, []*float64 | ||
// | ||
// []float32, []*float32, []float64, []*float64 | ||
// | ||
// String, Bool, and Time: | ||
// []string, []*string, []bool, []*bool, []time.Time, and []*time.Time. | ||
// | ||
// []string, []*string, []bool, []*bool, []time.Time, and []*time.Time. | ||
// | ||
// JSON: | ||
// []json.RawMessage, []*json.RawMessage | ||
// | ||
// []json.RawMessage, []*json.RawMessage | ||
// | ||
// If an unsupported values type is passed, NewField will panic. | ||
// nolint:gocyclo | ||
|
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
Binary file not shown.
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 |
---|---|---|
|
@@ -74,8 +74,8 @@ | |
{ "name": "timestamps", "type": "time", "typeInfo": { "frame": "time.Time" }, "config": { "interval": 1000 } }, | ||
{ "name": "timestamps", "type": "time", "typeInfo": { "frame": "time.Time" } }, | ||
{ "name": "nullable_timestamps", "type": "time", "typeInfo": { "frame": "time.Time", "nullable": true } }, | ||
{ "name": "json", "type":"other", "typeInfo": { "frame": "json.RawMessage" } }, | ||
{ "name": "nullable_json", "type":"other", "typeInfo": { "frame": "json.RawMessage", "nullable": true } } | ||
{ "name": "json", "type": "other", "typeInfo": { "frame": "json.RawMessage" } }, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pretty printed |
||
{ "name": "nullable_json", "type": "other", "typeInfo": { "frame": "json.RawMessage", "nullable": true } } | ||
] | ||
}, | ||
"data": { | ||
|
@@ -111,8 +111,8 @@ | |
[0, 1568039445000, 1568039450000, 9007199254, 9223372036854], | ||
[0, 1568039445000, 1568039450000, 9007199254, 9223372036854], | ||
[0, 1568039445000, null, 9007199254, 9223372036854], | ||
[{"a":1},[1,2,3],{"b":2},[{"c":3},{"d":4}],{"e":{"f":5}}], | ||
[{"a":1},[1,2,3],null,[{"c":3},{"d":4}],{"e":{"f":5}}] | ||
[{ "a": 1 }, [1, 2, 3], { "b": 2 }, [{ "c": 3 }, { "d": 4 }], { "e": { "f": 5 } }], | ||
[{ "a": 1 }, [1, 2, 3], null, [{ "c": 3 }, { "d": 4 }], { "e": { "f": 5 } }] | ||
], | ||
"entities": [ | ||
null, | ||
|
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.
^^ the "name" field was redundant, and never used!