blob: d09df9bd9b47c0ff50afe1dc3907a2e6f9a056a0 [file] [log] [blame]
{
"relations": [
{
"root": {
"input": {
"write": {
"namedTable": {
"advancedExtension": {
"optimization": {
"@type": "type.googleapis.com/local_engine.Write",
"common": {
"format": "parquet"
},
"parquet": {}
},
"enhancement": {
"@type": "type.googleapis.com/substrait.Type",
"struct": {
"types": [
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"decimal": {
"scale": 2,
"precision": 15,
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
}
],
"nullability": "NULLABILITY_REQUIRED"
}
}
}
},
"tableSchema": {
"names": [
"s_suppkey",
"s_name",
"s_address",
"s_phone",
"s_acctbal",
"s_comment",
"s_nationkey"
],
"struct": {
"types": [
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"decimal": {
"scale": 2,
"precision": 15,
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
}
]
},
"columnTypes": [
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"PARTITION_COL"
]
},
"input": {
"project": {
"common": {
"emit": {
"outputMapping": [
7,
8,
9,
10,
11,
12,
13
]
}
},
"input": {
"read": {
"common": {
"direct": {}
},
"baseSchema": {
"names": [
"s_suppkey",
"s_name",
"s_address",
"s_nationkey",
"s_phone",
"s_acctbal",
"s_comment"
],
"struct": {
"types": [
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"decimal": {
"scale": 2,
"precision": 15,
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
}
]
},
"columnTypes": [
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL"
]
},
"advancedExtension": {
"optimization": {
"@type": "type.googleapis.com/google.protobuf.StringValue",
"value": "isMergeTree=0\n"
}
}
}
},
"expressions": [
{
"selection": {
"directReference": {
"structField": {}
}
}
},
{
"selection": {
"directReference": {
"structField": {
"field": 1
}
}
}
},
{
"selection": {
"directReference": {
"structField": {
"field": 2
}
}
}
},
{
"selection": {
"directReference": {
"structField": {
"field": 4
}
}
}
},
{
"selection": {
"directReference": {
"structField": {
"field": 5
}
}
}
},
{
"selection": {
"directReference": {
"structField": {
"field": 6
}
}
}
},
{
"selection": {
"directReference": {
"structField": {
"field": 3
}
}
}
}
]
}
}
}
},
"outputSchema": {
"nullability": "NULLABILITY_REQUIRED"
}
}
}
]
}