{
  "version": {
    "majorNumber": 0,
    "minorNumber": 103,
    "patchNumber": 0,
    "producer": "The Polaris Papers: worked electricity usage example"
  },
  "executionBehavior": {
    "variableEvalMode": "VARIABLE_EVALUATION_MODE_PER_PLAN"
  },
  "extensionUrns": [
    {
      "extensionUrnAnchor": 1,
      "urn": "extension:io.substrait:functions_comparison"
    }
  ],
  "extensions": [
    {
      "extensionFunction": {
        "extensionUrnReference": 1,
        "functionAnchor": 7,
        "name": "gt:any_any"
      }
    }
  ],
  "relations": [
    {
      "root": {
        "input": {
          "project": {
            "common": {
              "emit": {
                "outputMapping": [
                  2
                ]
              }
            },
            "input": {
              "filter": {
                "common": {
                  "direct": {}
                },
                "input": {
                  "read": {
                    "common": {
                      "direct": {}
                    },
                    "baseSchema": {
                      "names": [
                        "account_id",
                        "kwh"
                      ],
                      "struct": {
                        "types": [
                          {
                            "i64": {
                              "nullability": "NULLABILITY_REQUIRED"
                            }
                          },
                          {
                            "i64": {
                              "nullability": "NULLABILITY_REQUIRED"
                            }
                          }
                        ],
                        "nullability": "NULLABILITY_REQUIRED"
                      }
                    },
                    "namedTable": {
                      "names": [
                        "EnergyUsage"
                      ]
                    }
                  }
                },
                "condition": {
                  "scalarFunction": {
                    "functionReference": 7,
                    "arguments": [
                      {
                        "value": {
                          "selection": {
                            "directReference": {
                              "structField": {
                                "field": 1
                              }
                            },
                            "rootReference": {}
                          }
                        }
                      },
                      {
                        "value": {
                          "literal": {
                            "i64": "100"
                          }
                        }
                      }
                    ],
                    "outputType": {
                      "bool": {
                        "nullability": "NULLABILITY_REQUIRED"
                      }
                    }
                  }
                }
              }
            },
            "expressions": [
              {
                "selection": {
                  "directReference": {
                    "structField": {
                      "field": 0
                    }
                  },
                  "rootReference": {}
                }
              }
            ]
          }
        },
        "names": [
          "account_id"
        ]
      }
    }
  ]
}
