blob: 6ca35e5e6f3dd8fe0ce4c6e7b4aaffed7b42f457 [file]
{
"extensions": [
{
"extensionFunction": {
"functionAnchor": 3,
"name": "alias:date"
}
},
{
"extensionFunction": {
"functionAnchor": 2,
"name": "alias:str"
}
},
{
"extensionFunction": {
"functionAnchor": 1,
"name": "alias:fp64"
}
},
{
"extensionFunction": {
"name": "alias:i64"
}
}
],
"relations": [
{
"root": {
"input": {
"write": {
"namedTable": {
"advancedExtension": {
"optimization": {
"@type": "type.googleapis.com/local_engine.Write",
"common": {
"format": "mergetree"
},
"mergetree": {
"database": "default",
"table": "lineitem_mergetree_case_sensitive",
"snapshotId": "1733308441225_0",
"orderByKey": "l_discount",
"storagePolicy": "default"
}
},
"enhancement": {
"@type": "type.googleapis.com/substrait.Type",
"struct": {
"types": [
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"date": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"date": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"date": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
}
],
"nullability": "NULLABILITY_REQUIRED"
}
}
}
},
"tableSchema": {
"names": [
"L_ORDERKEY",
"L_PARTKEY",
"L_SUPPKEY",
"L_LINENUMBER",
"L_QUANTITY",
"L_EXTENDEDPRICE",
"L_DISCOUNT",
"L_TAX",
"L_RETURNFLAG",
"L_LINESTATUS",
"L_SHIPDATE",
"L_COMMITDATE",
"L_RECEIPTDATE",
"L_SHIPINSTRUCT",
"L_SHIPMODE",
"L_COMMENT"
],
"struct": {
"types": [
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"date": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"date": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"date": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
}
]
},
"columnTypes": [
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"PARTITION_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL"
]
},
"input": {
"project": {
"common": {
"emit": {
"outputMapping": [
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31
]
}
},
"input": {
"read": {
"common": {
"direct": {}
},
"baseSchema": {
"names": [
"l_orderkey",
"l_partkey",
"l_suppkey",
"l_linenumber",
"l_quantity",
"l_extendedprice",
"l_discount",
"l_tax",
"l_returnflag",
"l_linestatus",
"l_shipdate",
"l_commitdate",
"l_receiptdate",
"l_shipinstruct",
"l_shipmode",
"l_comment"
],
"struct": {
"types": [
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"date": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"date": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"date": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
{
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
}
]
},
"columnTypes": [
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"NORMAL_COL",
"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": [
{
"scalarFunction": {
"outputType": {
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {}
}
}
}
}
]
}
},
{
"scalarFunction": {
"outputType": {
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 1
}
}
}
}
}
]
}
},
{
"scalarFunction": {
"outputType": {
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 2
}
}
}
}
}
]
}
},
{
"scalarFunction": {
"outputType": {
"i64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 3
}
}
}
}
}
]
}
},
{
"scalarFunction": {
"functionReference": 1,
"outputType": {
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 4
}
}
}
}
}
]
}
},
{
"scalarFunction": {
"functionReference": 1,
"outputType": {
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 5
}
}
}
}
}
]
}
},
{
"scalarFunction": {
"functionReference": 1,
"outputType": {
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 6
}
}
}
}
}
]
}
},
{
"scalarFunction": {
"functionReference": 1,
"outputType": {
"fp64": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 7
}
}
}
}
}
]
}
},
{
"scalarFunction": {
"functionReference": 2,
"outputType": {
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 8
}
}
}
}
}
]
}
},
{
"scalarFunction": {
"functionReference": 2,
"outputType": {
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 9
}
}
}
}
}
]
}
},
{
"scalarFunction": {
"functionReference": 3,
"outputType": {
"date": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 10
}
}
}
}
}
]
}
},
{
"scalarFunction": {
"functionReference": 3,
"outputType": {
"date": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 11
}
}
}
}
}
]
}
},
{
"scalarFunction": {
"functionReference": 3,
"outputType": {
"date": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 12
}
}
}
}
}
]
}
},
{
"scalarFunction": {
"functionReference": 2,
"outputType": {
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 13
}
}
}
}
}
]
}
},
{
"scalarFunction": {
"functionReference": 2,
"outputType": {
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 14
}
}
}
}
}
]
}
},
{
"scalarFunction": {
"functionReference": 2,
"outputType": {
"string": {
"nullability": "NULLABILITY_NULLABLE"
}
},
"arguments": [
{
"value": {
"selection": {
"directReference": {
"structField": {
"field": 15
}
}
}
}
}
]
}
}
]
}
}
}
},
"outputSchema": {
"nullability": "NULLABILITY_REQUIRED"
}
}
}
]
}