Skip to content

Instantly share code, notes, and snippets.

@wesm
Created April 7, 2017 03:32
Show Gist options
  • Save wesm/92e90c7fffe0ee10014b40e51c2a2bf2 to your computer and use it in GitHub Desktop.
Save wesm/92e90c7fffe0ee10014b40e51c2a2bf2 to your computer and use it in GitHub Desktop.
{
"schema": {
"fields": [
{
"name": "bool_nullable",
"type": {
"name": "bool"
},
"nullable": true,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 1
}
]
}
},
{
"name": "bool_nonnullable",
"type": {
"name": "bool"
},
"nullable": false,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 1
}
]
}
},
{
"name": "int8_nullable",
"type": {
"name": "int",
"isSigned": true,
"bitWidth": 8
},
"nullable": true,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 8
}
]
}
},
{
"name": "int8_nonnullable",
"type": {
"name": "int",
"isSigned": true,
"bitWidth": 8
},
"nullable": false,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 8
}
]
}
},
{
"name": "int16_nullable",
"type": {
"name": "int",
"isSigned": true,
"bitWidth": 16
},
"nullable": true,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 16
}
]
}
},
{
"name": "int16_nonnullable",
"type": {
"name": "int",
"isSigned": true,
"bitWidth": 16
},
"nullable": false,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 16
}
]
}
},
{
"name": "int32_nullable",
"type": {
"name": "int",
"isSigned": true,
"bitWidth": 32
},
"nullable": true,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 32
}
]
}
},
{
"name": "int32_nonnullable",
"type": {
"name": "int",
"isSigned": true,
"bitWidth": 32
},
"nullable": false,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 32
}
]
}
},
{
"name": "int64_nullable",
"type": {
"name": "int",
"isSigned": true,
"bitWidth": 64
},
"nullable": true,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 64
}
]
}
},
{
"name": "int64_nonnullable",
"type": {
"name": "int",
"isSigned": true,
"bitWidth": 64
},
"nullable": false,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 64
}
]
}
},
{
"name": "uint8_nullable",
"type": {
"name": "int",
"isSigned": false,
"bitWidth": 8
},
"nullable": true,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 8
}
]
}
},
{
"name": "uint8_nonnullable",
"type": {
"name": "int",
"isSigned": false,
"bitWidth": 8
},
"nullable": false,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 8
}
]
}
},
{
"name": "uint16_nullable",
"type": {
"name": "int",
"isSigned": false,
"bitWidth": 16
},
"nullable": true,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 16
}
]
}
},
{
"name": "uint16_nonnullable",
"type": {
"name": "int",
"isSigned": false,
"bitWidth": 16
},
"nullable": false,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 16
}
]
}
},
{
"name": "uint32_nullable",
"type": {
"name": "int",
"isSigned": false,
"bitWidth": 32
},
"nullable": true,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 32
}
]
}
},
{
"name": "uint32_nonnullable",
"type": {
"name": "int",
"isSigned": false,
"bitWidth": 32
},
"nullable": false,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 32
}
]
}
},
{
"name": "uint64_nullable",
"type": {
"name": "int",
"isSigned": false,
"bitWidth": 64
},
"nullable": true,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 64
}
]
}
},
{
"name": "uint64_nonnullable",
"type": {
"name": "int",
"isSigned": false,
"bitWidth": 64
},
"nullable": false,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 64
}
]
}
},
{
"name": "float32_nullable",
"type": {
"name": "floatingpoint",
"precision": "SINGLE"
},
"nullable": true,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 32
}
]
}
},
{
"name": "float32_nonnullable",
"type": {
"name": "floatingpoint",
"precision": "SINGLE"
},
"nullable": false,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 32
}
]
}
},
{
"name": "float64_nullable",
"type": {
"name": "floatingpoint",
"precision": "DOUBLE"
},
"nullable": true,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 64
}
]
}
},
{
"name": "float64_nonnullable",
"type": {
"name": "floatingpoint",
"precision": "DOUBLE"
},
"nullable": false,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "DATA",
"typeBitWidth": 64
}
]
}
},
{
"name": "binary_nullable",
"type": {
"name": "binary"
},
"nullable": true,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "OFFSET",
"typeBitWidth": 32
},
{
"type": "DATA",
"typeBitWidth": 8
}
]
}
},
{
"name": "binary_nonnullable",
"type": {
"name": "binary"
},
"nullable": false,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "OFFSET",
"typeBitWidth": 32
},
{
"type": "DATA",
"typeBitWidth": 8
}
]
}
},
{
"name": "utf8_nullable",
"type": {
"name": "utf8"
},
"nullable": true,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "OFFSET",
"typeBitWidth": 32
},
{
"type": "DATA",
"typeBitWidth": 8
}
]
}
},
{
"name": "utf8_nonnullable",
"type": {
"name": "utf8"
},
"nullable": false,
"children": [],
"typeLayout": {
"vectors": [
{
"type": "VALIDITY",
"typeBitWidth": 1
},
{
"type": "OFFSET",
"typeBitWidth": 32
},
{
"type": "DATA",
"typeBitWidth": 8
}
]
}
}
]
},
"batches": [
{
"count": 0,
"columns": [
{
"name": "bool_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "bool_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int8_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int8_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int16_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int16_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int32_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int32_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int64_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int64_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint8_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint8_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint16_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint16_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint32_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint32_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint64_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint64_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "float32_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "float32_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "float64_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "float64_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "binary_nullable",
"count": 0,
"VALIDITY": [],
"OFFSET": [
0
],
"DATA": []
},
{
"name": "binary_nonnullable",
"count": 0,
"VALIDITY": [],
"OFFSET": [
0
],
"DATA": []
},
{
"name": "utf8_nullable",
"count": 0,
"VALIDITY": [],
"OFFSET": [
0
],
"DATA": []
},
{
"name": "utf8_nonnullable",
"count": 0,
"VALIDITY": [],
"OFFSET": [
0
],
"DATA": []
}
]
},
{
"count": 0,
"columns": [
{
"name": "bool_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "bool_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int8_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int8_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int16_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int16_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int32_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int32_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int64_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int64_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint8_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint8_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint16_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint16_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint32_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint32_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint64_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint64_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "float32_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "float32_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "float64_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "float64_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "binary_nullable",
"count": 0,
"VALIDITY": [],
"OFFSET": [
0
],
"DATA": []
},
{
"name": "binary_nonnullable",
"count": 0,
"VALIDITY": [],
"OFFSET": [
0
],
"DATA": []
},
{
"name": "utf8_nullable",
"count": 0,
"VALIDITY": [],
"OFFSET": [
0
],
"DATA": []
},
{
"name": "utf8_nonnullable",
"count": 0,
"VALIDITY": [],
"OFFSET": [
0
],
"DATA": []
}
]
},
{
"count": 0,
"columns": [
{
"name": "bool_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "bool_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int8_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int8_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int16_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int16_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int32_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int32_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int64_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "int64_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint8_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint8_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint16_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint16_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint32_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint32_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint64_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "uint64_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "float32_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "float32_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "float64_nullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "float64_nonnullable",
"count": 0,
"VALIDITY": [],
"DATA": []
},
{
"name": "binary_nullable",
"count": 0,
"VALIDITY": [],
"OFFSET": [
0
],
"DATA": []
},
{
"name": "binary_nonnullable",
"count": 0,
"VALIDITY": [],
"OFFSET": [
0
],
"DATA": []
},
{
"name": "utf8_nullable",
"count": 0,
"VALIDITY": [],
"OFFSET": [
0
],
"DATA": []
},
{
"name": "utf8_nonnullable",
"count": 0,
"VALIDITY": [],
"OFFSET": [
0
],
"DATA": []
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment