{
  "extensionUris": [{
    "extensionUriAnchor": 3,
    "uri": "/functions_arithmetic.yaml"
  }, {
    "extensionUriAnchor": 1,
    "uri": "/functions_boolean.yaml"
  }, {
    "extensionUriAnchor": 4,
    "uri": "/functions_arithmetic_decimal.yaml"
  }, {
    "extensionUriAnchor": 2,
    "uri": "/functions_comparison.yaml"
  }],
  "extensions": [{
    "extensionFunction": {
      "extensionUriReference": 1,
      "functionAnchor": 0,
      "name": "or:bool"
    }
  }, {
    "extensionFunction": {
      "extensionUriReference": 1,
      "functionAnchor": 1,
      "name": "and:bool"
    }
  }, {
    "extensionFunction": {
      "extensionUriReference": 2,
      "functionAnchor": 2,
      "name": "equal:any_any"
    }
  }, {
    "extensionFunction": {
      "extensionUriReference": 2,
      "functionAnchor": 3,
      "name": "gte:any_any"
    }
  }, {
    "extensionFunction": {
      "extensionUriReference": 2,
      "functionAnchor": 4,
      "name": "lte:any_any"
    }
  }, {
    "extensionFunction": {
      "extensionUriReference": 3,
      "functionAnchor": 5,
      "name": "add:i32_i32"
    }
  }, {
    "extensionFunction": {
      "extensionUriReference": 4,
      "functionAnchor": 6,
      "name": "multiply:dec_dec"
    }
  }, {
    "extensionFunction": {
      "extensionUriReference": 4,
      "functionAnchor": 7,
      "name": "subtract:dec_dec"
    }
  }, {
    "extensionFunction": {
      "extensionUriReference": 4,
      "functionAnchor": 8,
      "name": "sum:dec"
    }
  }],
  "relations": [{
    "root": {
      "input": {
        "aggregate": {
          "common": {
            "direct": {
            }
          },
          "input": {
            "project": {
              "common": {
                "emit": {
                  "outputMapping": [25]
                }
              },
              "input": {
                "filter": {
                  "common": {
                    "direct": {
                    }
                  },
                  "input": {
                    "cross": {
                      "common": {
                        "direct": {
                        }
                      },
                      "left": {
                        "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": {
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_REQUIRED"
                                }
                              }, {
                                "i64": {
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_REQUIRED"
                                }
                              }, {
                                "i64": {
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_REQUIRED"
                                }
                              }, {
                                "i32": {
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "decimal": {
                                  "scale": 0,
                                  "precision": 19,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "decimal": {
                                  "scale": 0,
                                  "precision": 19,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "decimal": {
                                  "scale": 0,
                                  "precision": 19,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "decimal": {
                                  "scale": 0,
                                  "precision": 19,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "fixedChar": {
                                  "length": 1,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "fixedChar": {
                                  "length": 1,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "date": {
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "date": {
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "date": {
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "fixedChar": {
                                  "length": 25,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "fixedChar": {
                                  "length": 10,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "varchar": {
                                  "length": 44,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }],
                              "typeVariationReference": 0,
                              "nullability": "NULLABILITY_REQUIRED"
                            }
                          },
                          "namedTable": {
                            "names": ["LINEITEM"]
                          }
                        }
                      },
                      "right": {
                        "read": {
                          "common": {
                            "direct": {
                            }
                          },
                          "baseSchema": {
                            "names": ["P_PARTKEY", "P_NAME", "P_MFGR", "P_BRAND", "P_TYPE", "P_SIZE", "P_CONTAINER", "P_RETAILPRICE", "P_COMMENT"],
                            "struct": {
                              "types": [{
                                "i64": {
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_REQUIRED"
                                }
                              }, {
                                "varchar": {
                                  "length": 55,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "fixedChar": {
                                  "length": 25,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "fixedChar": {
                                  "length": 10,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "varchar": {
                                  "length": 25,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "i32": {
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "fixedChar": {
                                  "length": 10,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "decimal": {
                                  "scale": 0,
                                  "precision": 19,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }, {
                                "varchar": {
                                  "length": 23,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              }],
                              "typeVariationReference": 0,
                              "nullability": "NULLABILITY_REQUIRED"
                            }
                          },
                          "namedTable": {
                            "names": ["PART"]
                          }
                        }
                      }
                    }
                  },
                  "condition": {
                    "scalarFunction": {
                      "functionReference": 0,
                      "args": [],
                      "outputType": {
                        "bool": {
                          "typeVariationReference": 0,
                          "nullability": "NULLABILITY_NULLABLE"
                        }
                      },
                      "arguments": [{
                        "value": {
                          "scalarFunction": {
                            "functionReference": 1,
                            "args": [],
                            "outputType": {
                              "bool": {
                                "typeVariationReference": 0,
                                "nullability": "NULLABILITY_NULLABLE"
                              }
                            },
                            "arguments": [{
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 2,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_REQUIRED"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 16
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 1
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 2,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 19
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "cast": {
                                        "type": {
                                          "fixedChar": {
                                            "length": 10,
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_REQUIRED"
                                          }
                                        },
                                        "input": {
                                          "literal": {
                                            "fixedChar": "Brand#41",
                                            "nullable": false,
                                            "typeVariationReference": 0
                                          }
                                        },
                                        "failureBehavior": "FAILURE_BEHAVIOR_UNSPECIFIED"
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 0,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 22
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "SM CASE",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 22
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "SM BOX",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 22
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "SM PACK",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 22
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "SM PKG",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 3,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 4
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "cast": {
                                        "type": {
                                          "decimal": {
                                            "scale": 0,
                                            "precision": 19,
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "input": {
                                          "literal": {
                                            "i32": 2,
                                            "nullable": false,
                                            "typeVariationReference": 0
                                          }
                                        },
                                        "failureBehavior": "FAILURE_BEHAVIOR_UNSPECIFIED"
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 4,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 4
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "cast": {
                                        "type": {
                                          "decimal": {
                                            "scale": 0,
                                            "precision": 19,
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "input": {
                                          "scalarFunction": {
                                            "functionReference": 5,
                                            "args": [],
                                            "outputType": {
                                              "i32": {
                                                "typeVariationReference": 0,
                                                "nullability": "NULLABILITY_REQUIRED"
                                              }
                                            },
                                            "arguments": [{
                                              "value": {
                                                "literal": {
                                                  "i32": 2,
                                                  "nullable": false,
                                                  "typeVariationReference": 0
                                                }
                                              }
                                            }, {
                                              "value": {
                                                "literal": {
                                                  "i32": 10,
                                                  "nullable": false,
                                                  "typeVariationReference": 0
                                                }
                                              }
                                            }],
                                            "options": []
                                          }
                                        },
                                        "failureBehavior": "FAILURE_BEHAVIOR_UNSPECIFIED"
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 3,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 21
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "literal": {
                                        "i32": 1,
                                        "nullable": false,
                                        "typeVariationReference": 0
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 4,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 21
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "literal": {
                                        "i32": 5,
                                        "nullable": false,
                                        "typeVariationReference": 0
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 0,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 14
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "AIR",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 14
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "AIR REG",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 2,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 13
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "cast": {
                                        "type": {
                                          "fixedChar": {
                                            "length": 25,
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_REQUIRED"
                                          }
                                        },
                                        "input": {
                                          "literal": {
                                            "fixedChar": "DELIVER IN PERSON",
                                            "nullable": false,
                                            "typeVariationReference": 0
                                          }
                                        },
                                        "failureBehavior": "FAILURE_BEHAVIOR_UNSPECIFIED"
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }],
                            "options": []
                          }
                        }
                      }, {
                        "value": {
                          "scalarFunction": {
                            "functionReference": 1,
                            "args": [],
                            "outputType": {
                              "bool": {
                                "typeVariationReference": 0,
                                "nullability": "NULLABILITY_NULLABLE"
                              }
                            },
                            "arguments": [{
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 2,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_REQUIRED"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 16
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 1
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 2,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 19
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "cast": {
                                        "type": {
                                          "fixedChar": {
                                            "length": 10,
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_REQUIRED"
                                          }
                                        },
                                        "input": {
                                          "literal": {
                                            "fixedChar": "Brand#13",
                                            "nullable": false,
                                            "typeVariationReference": 0
                                          }
                                        },
                                        "failureBehavior": "FAILURE_BEHAVIOR_UNSPECIFIED"
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 0,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 22
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "MED BAG",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 22
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "MED BOX",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 22
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "MED PKG",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 22
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "MED PACK",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 3,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 4
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "cast": {
                                        "type": {
                                          "decimal": {
                                            "scale": 0,
                                            "precision": 19,
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "input": {
                                          "literal": {
                                            "i32": 14,
                                            "nullable": false,
                                            "typeVariationReference": 0
                                          }
                                        },
                                        "failureBehavior": "FAILURE_BEHAVIOR_UNSPECIFIED"
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 4,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 4
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "cast": {
                                        "type": {
                                          "decimal": {
                                            "scale": 0,
                                            "precision": 19,
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "input": {
                                          "scalarFunction": {
                                            "functionReference": 5,
                                            "args": [],
                                            "outputType": {
                                              "i32": {
                                                "typeVariationReference": 0,
                                                "nullability": "NULLABILITY_REQUIRED"
                                              }
                                            },
                                            "arguments": [{
                                              "value": {
                                                "literal": {
                                                  "i32": 14,
                                                  "nullable": false,
                                                  "typeVariationReference": 0
                                                }
                                              }
                                            }, {
                                              "value": {
                                                "literal": {
                                                  "i32": 10,
                                                  "nullable": false,
                                                  "typeVariationReference": 0
                                                }
                                              }
                                            }],
                                            "options": []
                                          }
                                        },
                                        "failureBehavior": "FAILURE_BEHAVIOR_UNSPECIFIED"
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 3,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 21
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "literal": {
                                        "i32": 1,
                                        "nullable": false,
                                        "typeVariationReference": 0
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 4,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 21
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "literal": {
                                        "i32": 10,
                                        "nullable": false,
                                        "typeVariationReference": 0
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 0,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 14
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "AIR",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 14
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "AIR REG",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 2,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 13
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "cast": {
                                        "type": {
                                          "fixedChar": {
                                            "length": 25,
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_REQUIRED"
                                          }
                                        },
                                        "input": {
                                          "literal": {
                                            "fixedChar": "DELIVER IN PERSON",
                                            "nullable": false,
                                            "typeVariationReference": 0
                                          }
                                        },
                                        "failureBehavior": "FAILURE_BEHAVIOR_UNSPECIFIED"
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }],
                            "options": []
                          }
                        }
                      }, {
                        "value": {
                          "scalarFunction": {
                            "functionReference": 1,
                            "args": [],
                            "outputType": {
                              "bool": {
                                "typeVariationReference": 0,
                                "nullability": "NULLABILITY_NULLABLE"
                              }
                            },
                            "arguments": [{
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 2,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_REQUIRED"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 16
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 1
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 2,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 19
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "cast": {
                                        "type": {
                                          "fixedChar": {
                                            "length": 10,
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_REQUIRED"
                                          }
                                        },
                                        "input": {
                                          "literal": {
                                            "fixedChar": "Brand#55",
                                            "nullable": false,
                                            "typeVariationReference": 0
                                          }
                                        },
                                        "failureBehavior": "FAILURE_BEHAVIOR_UNSPECIFIED"
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 0,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 22
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "LG CASE",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 22
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "LG BOX",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 22
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "LG PACK",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 22
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "LG PKG",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 3,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 4
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "cast": {
                                        "type": {
                                          "decimal": {
                                            "scale": 0,
                                            "precision": 19,
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "input": {
                                          "literal": {
                                            "i32": 23,
                                            "nullable": false,
                                            "typeVariationReference": 0
                                          }
                                        },
                                        "failureBehavior": "FAILURE_BEHAVIOR_UNSPECIFIED"
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 4,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 4
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "cast": {
                                        "type": {
                                          "decimal": {
                                            "scale": 0,
                                            "precision": 19,
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "input": {
                                          "scalarFunction": {
                                            "functionReference": 5,
                                            "args": [],
                                            "outputType": {
                                              "i32": {
                                                "typeVariationReference": 0,
                                                "nullability": "NULLABILITY_REQUIRED"
                                              }
                                            },
                                            "arguments": [{
                                              "value": {
                                                "literal": {
                                                  "i32": 23,
                                                  "nullable": false,
                                                  "typeVariationReference": 0
                                                }
                                              }
                                            }, {
                                              "value": {
                                                "literal": {
                                                  "i32": 10,
                                                  "nullable": false,
                                                  "typeVariationReference": 0
                                                }
                                              }
                                            }],
                                            "options": []
                                          }
                                        },
                                        "failureBehavior": "FAILURE_BEHAVIOR_UNSPECIFIED"
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 3,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 21
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "literal": {
                                        "i32": 1,
                                        "nullable": false,
                                        "typeVariationReference": 0
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 4,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 21
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "literal": {
                                        "i32": 15,
                                        "nullable": false,
                                        "typeVariationReference": 0
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 0,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 14
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "AIR",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "scalarFunction": {
                                        "functionReference": 2,
                                        "args": [],
                                        "outputType": {
                                          "bool": {
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_NULLABLE"
                                          }
                                        },
                                        "arguments": [{
                                          "value": {
                                            "selection": {
                                              "directReference": {
                                                "structField": {
                                                  "field": 14
                                                }
                                              },
                                              "rootReference": {
                                              }
                                            }
                                          }
                                        }, {
                                          "value": {
                                            "literal": {
                                              "fixedChar": "AIR REG",
                                              "nullable": false,
                                              "typeVariationReference": 0
                                            }
                                          }
                                        }],
                                        "options": []
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }, {
                              "value": {
                                "scalarFunction": {
                                  "functionReference": 2,
                                  "args": [],
                                  "outputType": {
                                    "bool": {
                                      "typeVariationReference": 0,
                                      "nullability": "NULLABILITY_NULLABLE"
                                    }
                                  },
                                  "arguments": [{
                                    "value": {
                                      "selection": {
                                        "directReference": {
                                          "structField": {
                                            "field": 13
                                          }
                                        },
                                        "rootReference": {
                                        }
                                      }
                                    }
                                  }, {
                                    "value": {
                                      "cast": {
                                        "type": {
                                          "fixedChar": {
                                            "length": 25,
                                            "typeVariationReference": 0,
                                            "nullability": "NULLABILITY_REQUIRED"
                                          }
                                        },
                                        "input": {
                                          "literal": {
                                            "fixedChar": "DELIVER IN PERSON",
                                            "nullable": false,
                                            "typeVariationReference": 0
                                          }
                                        },
                                        "failureBehavior": "FAILURE_BEHAVIOR_UNSPECIFIED"
                                      }
                                    }
                                  }],
                                  "options": []
                                }
                              }
                            }],
                            "options": []
                          }
                        }
                      }],
                      "options": []
                    }
                  }
                }
              },
              "expressions": [{
                "scalarFunction": {
                  "functionReference": 6,
                  "args": [],
                  "outputType": {
                    "decimal": {
                      "scale": 0,
                      "precision": 19,
                      "typeVariationReference": 0,
                      "nullability": "NULLABILITY_NULLABLE"
                    }
                  },
                  "arguments": [{
                    "value": {
                      "selection": {
                        "directReference": {
                          "structField": {
                            "field": 5
                          }
                        },
                        "rootReference": {
                        }
                      }
                    }
                  }, {
                    "value": {
                      "scalarFunction": {
                        "functionReference": 7,
                        "args": [],
                        "outputType": {
                          "decimal": {
                            "scale": 0,
                            "precision": 19,
                            "typeVariationReference": 0,
                            "nullability": "NULLABILITY_NULLABLE"
                          }
                        },
                        "arguments": [{
                          "value": {
                            "cast": {
                              "type": {
                                "decimal": {
                                  "scale": 0,
                                  "precision": 19,
                                  "typeVariationReference": 0,
                                  "nullability": "NULLABILITY_NULLABLE"
                                }
                              },
                              "input": {
                                "literal": {
                                  "i32": 1,
                                  "nullable": false,
                                  "typeVariationReference": 0
                                }
                              },
                              "failureBehavior": "FAILURE_BEHAVIOR_UNSPECIFIED"
                            }
                          }
                        }, {
                          "value": {
                            "selection": {
                              "directReference": {
                                "structField": {
                                  "field": 6
                                }
                              },
                              "rootReference": {
                              }
                            }
                          }
                        }],
                        "options": []
                      }
                    }
                  }],
                  "options": []
                }
              }]
            }
          },
          "groupings": [{
            "groupingExpressions": []
          }],
          "measures": [{
            "measure": {
              "functionReference": 8,
              "args": [],
              "sorts": [],
              "phase": "AGGREGATION_PHASE_INITIAL_TO_RESULT",
              "outputType": {
                "decimal": {
                  "scale": 0,
                  "precision": 19,
                  "typeVariationReference": 0,
                  "nullability": "NULLABILITY_NULLABLE"
                }
              },
              "invocation": "AGGREGATION_INVOCATION_ALL",
              "arguments": [{
                "value": {
                  "selection": {
                    "directReference": {
                      "structField": {
                        "field": 0
                      }
                    },
                    "rootReference": {
                    }
                  }
                }
              }],
              "options": []
            }
          }]
        }
      },
      "names": ["REVENUE"]
    }
  }],
  "expectedTypeUrls": []
}
