{
  "$schema": "/products/haybarn/functions/api/v1/function.schema.json",
  "schemaVersion": 1,
  "name": "max_by",
  "schema": "main",
  "slug": "max_by",
  "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
  "category": "aggregate",
  "kinds": [
    "aggregate"
  ],
  "aliasOf": [
    "arg_max"
  ],
  "snapshot": {
    "schemaVersion": 1,
    "id": "haybarn-2.0.0-rc12",
    "engine": "haybarn",
    "label": "Haybarn WASM 2.0.0-rc12",
    "engineVersion": "v2.0.0",
    "sourceId": "9b1a0c5829",
    "source": "https://www.npmjs.com/package/@haybarn/haybarn-wasm/v/2.0.0-rc12",
    "binarySha256": "07ab540b40e7dded86546a179f58276085900a44e92d1aa070072360c1f78ae6",
    "capturedAt": "2026-11-06T18:33:13.228Z",
    "requestedExtensions": [
      "core_functions",
      "icu",
      "json",
      "parquet"
    ],
    "loadedExtensions": [
      {
        "extension_name": "core_functions",
        "extension_version": "v2.0.0",
        "installed_from": ""
      },
      {
        "extension_name": "icu",
        "extension_version": "v2.0.0",
        "installed_from": ""
      },
      {
        "extension_name": "json",
        "extension_version": "v2.0.0",
        "installed_from": ""
      },
      {
        "extension_name": "nanoarrow",
        "extension_version": "8f9b4434ef",
        "installed_from": ""
      },
      {
        "extension_name": "parquet",
        "extension_version": "v2.0.0",
        "installed_from": ""
      }
    ],
    "scope": "Built-in functions in the main schema captured from the published Haybarn WASM package, with core_functions, ICU, JSON and Parquet loaded.",
    "runtime": {
      "engine": "haybarn-wasm",
      "packageVersion": "2.0.0-rc12",
      "bundle": "base"
    }
  },
  "links": {
    "html": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/",
    "markdown": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/index.md",
    "json": "/products/haybarn/functions/api/v1/haybarn-2.0.0-rc12/functions/max_by.json"
  },
  "interpretation": [
    "Choose a snapshot matching the target engine and build. The default is captured from the published Haybarn WASM package used by the browser playground. Historical native snapshots are also available.",
    "Availability is an observation in the recorded build and extension profile, not a guarantee of support in every installation or in WASM.",
    "Types and descriptions are declarations from duckdb_functions(). Binding can specialize result types. Null means not supplied by the catalog; do not invent defaults, optionality, argument mode, or table output columns.",
    "Raw parameter arrays preserve catalog order for scalar/aggregate/macro functions. Raw table arguments are alphabetical. Use callingConvention for engine-confirmed positional order and named arguments; null modes are unrecorded. Named does not mean optional. Macro defaults and special named variadic behavior are not supplied by duckdb_functions().",
    "Catalog examples are source material and may require data or extensions. runnableExamples contains separately verified SQL for the pinned WASM package; sample-data adaptations and guide examples are labeled separately.",
    "Guide annotations and recipes are separate editorial content. The browser runner always uses Haybarn WASM 2.0.0-rc12, independently of the documentation snapshot.",
    "All URLs beginning with / are relative to the origin hosting this document. Exports require no JavaScript, cookies, API key, or browser engine."
  ],
  "overloads": [
    {
      "id": "overload-bccdbba524142227",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-bccdbba524142227",
      "signature": "max_by(arg: ANY, val: ANY) → ANY",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "ANY",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "ANY",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "ANY",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "ANY",
          "ANY"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-13e878f1e0facc02",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-13e878f1e0facc02",
      "signature": "max_by(arg: ANY, val: BIGINT) → ANY",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "ANY",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BIGINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "ANY",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "ANY",
          "BIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-641bdba9cac35fa6",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-641bdba9cac35fa6",
      "signature": "max_by(arg: ANY, val: BLOB) → ANY",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "ANY",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BLOB",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "ANY",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "ANY",
          "BLOB"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-91af93b735009ae4",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-91af93b735009ae4",
      "signature": "max_by(arg: ANY, val: DATE) → ANY",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "ANY",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DATE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "ANY",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "ANY",
          "DATE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-6b65576d30f69536",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-6b65576d30f69536",
      "signature": "max_by(arg: ANY, val: DOUBLE) → ANY",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "ANY",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "ANY",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "ANY",
          "DOUBLE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-e38652ff82bb493d",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-e38652ff82bb493d",
      "signature": "max_by(arg: ANY, val: HUGEINT) → ANY",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "ANY",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "HUGEINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "ANY",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "ANY",
          "HUGEINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-77fe131e3a8843be",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-77fe131e3a8843be",
      "signature": "max_by(arg: ANY, val: INTEGER) → ANY",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "ANY",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "ANY",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "ANY",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-076fd2050f01ed42",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-076fd2050f01ed42",
      "signature": "max_by(arg: ANY, val: TIMESTAMP) → ANY",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "ANY",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "ANY",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "ANY",
          "TIMESTAMP"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-3e9b651974b41fd4",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-3e9b651974b41fd4",
      "signature": "max_by(arg: ANY, val: TIMESTAMP WITH TIME ZONE) → ANY",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "ANY",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "ANY",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "ANY",
          "TIMESTAMP WITH TIME ZONE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-0b3a04dbb6d260d6",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-0b3a04dbb6d260d6",
      "signature": "max_by(arg: ANY, val: VARCHAR) → ANY",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "ANY",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "ANY",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "ANY",
          "VARCHAR"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-bed57745d5cffa83",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-bed57745d5cffa83",
      "signature": "max_by(arg: BIGINT, val: BIGINT) → BIGINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BIGINT",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BIGINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BIGINT",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BIGINT",
          "BIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-fb36bbec7a8a139b",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-fb36bbec7a8a139b",
      "signature": "max_by(arg: BIGINT, val: BLOB) → BIGINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BIGINT",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BLOB",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BIGINT",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BIGINT",
          "BLOB"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-fada492cbe484021",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-fada492cbe484021",
      "signature": "max_by(arg: BIGINT, val: DATE) → BIGINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BIGINT",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DATE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BIGINT",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BIGINT",
          "DATE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-0351718e4a61e4a2",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-0351718e4a61e4a2",
      "signature": "max_by(arg: BIGINT, val: DOUBLE) → BIGINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BIGINT",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BIGINT",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BIGINT",
          "DOUBLE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-4a4245fccaa3b072",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-4a4245fccaa3b072",
      "signature": "max_by(arg: BIGINT, val: HUGEINT) → BIGINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BIGINT",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "HUGEINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BIGINT",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BIGINT",
          "HUGEINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-815807b5652cfcca",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-815807b5652cfcca",
      "signature": "max_by(arg: BIGINT, val: INTEGER) → BIGINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BIGINT",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BIGINT",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BIGINT",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-586139f475b33100",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-586139f475b33100",
      "signature": "max_by(arg: BIGINT, val: TIMESTAMP) → BIGINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BIGINT",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BIGINT",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BIGINT",
          "TIMESTAMP"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-6c59c7f4aa2d37c4",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-6c59c7f4aa2d37c4",
      "signature": "max_by(arg: BIGINT, val: TIMESTAMP WITH TIME ZONE) → BIGINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BIGINT",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BIGINT",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BIGINT",
          "TIMESTAMP WITH TIME ZONE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-0a21159d51b8c316",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-0a21159d51b8c316",
      "signature": "max_by(arg: BIGINT, val: VARCHAR) → BIGINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BIGINT",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BIGINT",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BIGINT",
          "VARCHAR"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-23fa6ae768eb1c94",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-23fa6ae768eb1c94",
      "signature": "max_by(arg: BLOB, val: BIGINT) → BLOB",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BLOB",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BIGINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BLOB",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BLOB",
          "BIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-35f282cabab0f723",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-35f282cabab0f723",
      "signature": "max_by(arg: BLOB, val: BLOB) → BLOB",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BLOB",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BLOB",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BLOB",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BLOB",
          "BLOB"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-42edb24a68312388",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-42edb24a68312388",
      "signature": "max_by(arg: BLOB, val: DATE) → BLOB",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BLOB",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DATE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BLOB",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BLOB",
          "DATE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-0b96e0b599f37ccb",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-0b96e0b599f37ccb",
      "signature": "max_by(arg: BLOB, val: DOUBLE) → BLOB",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BLOB",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BLOB",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BLOB",
          "DOUBLE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-f1b66c324e368cdf",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-f1b66c324e368cdf",
      "signature": "max_by(arg: BLOB, val: HUGEINT) → BLOB",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BLOB",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "HUGEINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BLOB",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BLOB",
          "HUGEINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-4c52eea5050f207d",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-4c52eea5050f207d",
      "signature": "max_by(arg: BLOB, val: INTEGER) → BLOB",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BLOB",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BLOB",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BLOB",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-b8263c9441684263",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-b8263c9441684263",
      "signature": "max_by(arg: BLOB, val: TIMESTAMP) → BLOB",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BLOB",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BLOB",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BLOB",
          "TIMESTAMP"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-ad83a6567db00a35",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-ad83a6567db00a35",
      "signature": "max_by(arg: BLOB, val: TIMESTAMP WITH TIME ZONE) → BLOB",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BLOB",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BLOB",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BLOB",
          "TIMESTAMP WITH TIME ZONE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-cc69d697e20ed832",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-cc69d697e20ed832",
      "signature": "max_by(arg: BLOB, val: VARCHAR) → BLOB",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "BLOB",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "BLOB",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "BLOB",
          "VARCHAR"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-e317e1629ff764f1",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-e317e1629ff764f1",
      "signature": "max_by(arg: DATE, val: BIGINT) → DATE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DATE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BIGINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DATE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DATE",
          "BIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-069d5051f9dac510",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-069d5051f9dac510",
      "signature": "max_by(arg: DATE, val: BLOB) → DATE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DATE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BLOB",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DATE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DATE",
          "BLOB"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-28518278cc8a15bd",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-28518278cc8a15bd",
      "signature": "max_by(arg: DATE, val: DATE) → DATE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DATE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DATE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DATE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DATE",
          "DATE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-1c61b72bfc750e16",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-1c61b72bfc750e16",
      "signature": "max_by(arg: DATE, val: DOUBLE) → DATE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DATE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DATE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DATE",
          "DOUBLE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-7c42d0cdff0ab9c2",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-7c42d0cdff0ab9c2",
      "signature": "max_by(arg: DATE, val: HUGEINT) → DATE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DATE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "HUGEINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DATE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DATE",
          "HUGEINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-e43f1bfa9f37b9dc",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-e43f1bfa9f37b9dc",
      "signature": "max_by(arg: DATE, val: INTEGER) → DATE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DATE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DATE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DATE",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-6f9ed2d12a393c05",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-6f9ed2d12a393c05",
      "signature": "max_by(arg: DATE, val: TIMESTAMP) → DATE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DATE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DATE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DATE",
          "TIMESTAMP"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-0050800b18bba25d",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-0050800b18bba25d",
      "signature": "max_by(arg: DATE, val: TIMESTAMP WITH TIME ZONE) → DATE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DATE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DATE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DATE",
          "TIMESTAMP WITH TIME ZONE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-af1cd06a6eb72b6d",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-af1cd06a6eb72b6d",
      "signature": "max_by(arg: DATE, val: VARCHAR) → DATE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DATE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DATE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DATE",
          "VARCHAR"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-e4d2fe8620fb6a1b",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-e4d2fe8620fb6a1b",
      "signature": "max_by(arg: DECIMAL, val: BIGINT) → DECIMAL",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DECIMAL",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BIGINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DECIMAL",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DECIMAL",
          "BIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-850cee5e1abbe92c",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-850cee5e1abbe92c",
      "signature": "max_by(arg: DECIMAL, val: BLOB) → DECIMAL",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DECIMAL",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BLOB",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DECIMAL",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DECIMAL",
          "BLOB"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-605b3bd65588142f",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-605b3bd65588142f",
      "signature": "max_by(arg: DECIMAL, val: DATE) → DECIMAL",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DECIMAL",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DATE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DECIMAL",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DECIMAL",
          "DATE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-27e5cc6f78168687",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-27e5cc6f78168687",
      "signature": "max_by(arg: DECIMAL, val: DOUBLE) → DECIMAL",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DECIMAL",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DECIMAL",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DECIMAL",
          "DOUBLE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-7b14ed108b213f53",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-7b14ed108b213f53",
      "signature": "max_by(arg: DECIMAL, val: HUGEINT) → DECIMAL",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DECIMAL",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "HUGEINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DECIMAL",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DECIMAL",
          "HUGEINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-0e07d3e5d20879b2",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-0e07d3e5d20879b2",
      "signature": "max_by(arg: DECIMAL, val: INTEGER) → DECIMAL",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DECIMAL",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DECIMAL",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DECIMAL",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-daa723f4851e8ae0",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-daa723f4851e8ae0",
      "signature": "max_by(arg: DECIMAL, val: TIMESTAMP) → DECIMAL",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DECIMAL",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DECIMAL",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DECIMAL",
          "TIMESTAMP"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-91dec546f0034d2d",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-91dec546f0034d2d",
      "signature": "max_by(arg: DECIMAL, val: TIMESTAMP WITH TIME ZONE) → DECIMAL",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DECIMAL",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DECIMAL",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DECIMAL",
          "TIMESTAMP WITH TIME ZONE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-eb117bb4d64b597c",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-eb117bb4d64b597c",
      "signature": "max_by(arg: DECIMAL, val: VARCHAR) → DECIMAL",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DECIMAL",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DECIMAL",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DECIMAL",
          "VARCHAR"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-02bccb9cacc5d7c7",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-02bccb9cacc5d7c7",
      "signature": "max_by(arg: DOUBLE, val: BIGINT) → DOUBLE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BIGINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DOUBLE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DOUBLE",
          "BIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-995d7dc315fa412e",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-995d7dc315fa412e",
      "signature": "max_by(arg: DOUBLE, val: BLOB) → DOUBLE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BLOB",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DOUBLE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DOUBLE",
          "BLOB"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-6601c43c99d5663d",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-6601c43c99d5663d",
      "signature": "max_by(arg: DOUBLE, val: DATE) → DOUBLE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DATE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DOUBLE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DOUBLE",
          "DATE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-55530f39ffc8fee1",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-55530f39ffc8fee1",
      "signature": "max_by(arg: DOUBLE, val: DOUBLE) → DOUBLE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DOUBLE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DOUBLE",
          "DOUBLE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-5aa1ab5c09dc8a48",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-5aa1ab5c09dc8a48",
      "signature": "max_by(arg: DOUBLE, val: HUGEINT) → DOUBLE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "HUGEINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DOUBLE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DOUBLE",
          "HUGEINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-1d039da43980d184",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-1d039da43980d184",
      "signature": "max_by(arg: DOUBLE, val: INTEGER) → DOUBLE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DOUBLE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DOUBLE",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-25d39ce6217ceb01",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-25d39ce6217ceb01",
      "signature": "max_by(arg: DOUBLE, val: TIMESTAMP) → DOUBLE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DOUBLE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DOUBLE",
          "TIMESTAMP"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-d1b7124fce6eda5e",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-d1b7124fce6eda5e",
      "signature": "max_by(arg: DOUBLE, val: TIMESTAMP WITH TIME ZONE) → DOUBLE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DOUBLE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DOUBLE",
          "TIMESTAMP WITH TIME ZONE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-0c3d688a87e9c2e5",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-0c3d688a87e9c2e5",
      "signature": "max_by(arg: DOUBLE, val: VARCHAR) → DOUBLE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "DOUBLE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "DOUBLE",
          "VARCHAR"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-9dd4a6604b44b71a",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-9dd4a6604b44b71a",
      "signature": "max_by(arg: INTEGER, val: BIGINT) → INTEGER",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "INTEGER",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BIGINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "INTEGER",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "INTEGER",
          "BIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-70648ac7ffc5b2bc",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-70648ac7ffc5b2bc",
      "signature": "max_by(arg: INTEGER, val: BLOB) → INTEGER",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "INTEGER",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BLOB",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "INTEGER",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "INTEGER",
          "BLOB"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-830c98a1a1f64d43",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-830c98a1a1f64d43",
      "signature": "max_by(arg: INTEGER, val: DATE) → INTEGER",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "INTEGER",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DATE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "INTEGER",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "INTEGER",
          "DATE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-98d7ab9252d8e3bf",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-98d7ab9252d8e3bf",
      "signature": "max_by(arg: INTEGER, val: DOUBLE) → INTEGER",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "INTEGER",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "INTEGER",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "INTEGER",
          "DOUBLE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-26e40c11f9624ef9",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-26e40c11f9624ef9",
      "signature": "max_by(arg: INTEGER, val: HUGEINT) → INTEGER",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "INTEGER",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "HUGEINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "INTEGER",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "INTEGER",
          "HUGEINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-79f4e8692be47c72",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-79f4e8692be47c72",
      "signature": "max_by(arg: INTEGER, val: INTEGER) → INTEGER",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "INTEGER",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "INTEGER",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "INTEGER",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-55735eca4ca62b98",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-55735eca4ca62b98",
      "signature": "max_by(arg: INTEGER, val: TIMESTAMP) → INTEGER",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "INTEGER",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "INTEGER",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "INTEGER",
          "TIMESTAMP"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-507cf17c031a08ec",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-507cf17c031a08ec",
      "signature": "max_by(arg: INTEGER, val: TIMESTAMP WITH TIME ZONE) → INTEGER",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "INTEGER",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "INTEGER",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "INTEGER",
          "TIMESTAMP WITH TIME ZONE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-9f9f347aa8c6aa2a",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-9f9f347aa8c6aa2a",
      "signature": "max_by(arg: INTEGER, val: VARCHAR) → INTEGER",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "INTEGER",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "INTEGER",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "INTEGER",
          "VARCHAR"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-b7ef1431f1d08dd8",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-b7ef1431f1d08dd8",
      "signature": "max_by(arg: TIMESTAMP WITH TIME ZONE, val: BIGINT) → TIMESTAMP WITH TIME ZONE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BIGINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP WITH TIME ZONE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP WITH TIME ZONE",
          "BIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-3cc44a3f90145a56",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-3cc44a3f90145a56",
      "signature": "max_by(arg: TIMESTAMP WITH TIME ZONE, val: BLOB) → TIMESTAMP WITH TIME ZONE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BLOB",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP WITH TIME ZONE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP WITH TIME ZONE",
          "BLOB"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-fa51d2d454111ff9",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-fa51d2d454111ff9",
      "signature": "max_by(arg: TIMESTAMP WITH TIME ZONE, val: DATE) → TIMESTAMP WITH TIME ZONE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DATE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP WITH TIME ZONE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP WITH TIME ZONE",
          "DATE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-3f485d9933fce2a9",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-3f485d9933fce2a9",
      "signature": "max_by(arg: TIMESTAMP WITH TIME ZONE, val: DOUBLE) → TIMESTAMP WITH TIME ZONE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP WITH TIME ZONE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP WITH TIME ZONE",
          "DOUBLE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-b10a4e0b6718b8c7",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-b10a4e0b6718b8c7",
      "signature": "max_by(arg: TIMESTAMP WITH TIME ZONE, val: HUGEINT) → TIMESTAMP WITH TIME ZONE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "HUGEINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP WITH TIME ZONE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP WITH TIME ZONE",
          "HUGEINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-b7a8a79ae2727861",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-b7a8a79ae2727861",
      "signature": "max_by(arg: TIMESTAMP WITH TIME ZONE, val: INTEGER) → TIMESTAMP WITH TIME ZONE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP WITH TIME ZONE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP WITH TIME ZONE",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-f1b55e7c3498bd7d",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-f1b55e7c3498bd7d",
      "signature": "max_by(arg: TIMESTAMP WITH TIME ZONE, val: TIMESTAMP) → TIMESTAMP WITH TIME ZONE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP WITH TIME ZONE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP WITH TIME ZONE",
          "TIMESTAMP"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-637bcc529f5cb013",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-637bcc529f5cb013",
      "signature": "max_by(arg: TIMESTAMP WITH TIME ZONE, val: TIMESTAMP WITH TIME ZONE) → TIMESTAMP WITH TIME ZONE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP WITH TIME ZONE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP WITH TIME ZONE",
          "TIMESTAMP WITH TIME ZONE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-4d584d9fe6215db7",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-4d584d9fe6215db7",
      "signature": "max_by(arg: TIMESTAMP WITH TIME ZONE, val: VARCHAR) → TIMESTAMP WITH TIME ZONE",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP WITH TIME ZONE",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP WITH TIME ZONE",
          "VARCHAR"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-a783ee576b9b8a97",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-a783ee576b9b8a97",
      "signature": "max_by(arg: TIMESTAMP, val: BIGINT) → TIMESTAMP",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BIGINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP",
          "BIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-891afaf862a2e9c5",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-891afaf862a2e9c5",
      "signature": "max_by(arg: TIMESTAMP, val: BLOB) → TIMESTAMP",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BLOB",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP",
          "BLOB"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-1f3020782f51daf6",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-1f3020782f51daf6",
      "signature": "max_by(arg: TIMESTAMP, val: DATE) → TIMESTAMP",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DATE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP",
          "DATE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-c75583f5c8cba557",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-c75583f5c8cba557",
      "signature": "max_by(arg: TIMESTAMP, val: DOUBLE) → TIMESTAMP",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP",
          "DOUBLE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-d4f1b46f4ea46138",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-d4f1b46f4ea46138",
      "signature": "max_by(arg: TIMESTAMP, val: HUGEINT) → TIMESTAMP",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "HUGEINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP",
          "HUGEINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-2dc85eaf5609b2ad",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-2dc85eaf5609b2ad",
      "signature": "max_by(arg: TIMESTAMP, val: INTEGER) → TIMESTAMP",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-4d67c0fffe3b868d",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-4d67c0fffe3b868d",
      "signature": "max_by(arg: TIMESTAMP, val: TIMESTAMP) → TIMESTAMP",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP",
          "TIMESTAMP"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-97a53f38a83b57c5",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-97a53f38a83b57c5",
      "signature": "max_by(arg: TIMESTAMP, val: TIMESTAMP WITH TIME ZONE) → TIMESTAMP",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP",
          "TIMESTAMP WITH TIME ZONE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-946697a7688206c9",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-946697a7688206c9",
      "signature": "max_by(arg: TIMESTAMP, val: VARCHAR) → TIMESTAMP",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "TIMESTAMP",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "TIMESTAMP",
          "VARCHAR"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-498fefb5d783bada",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-498fefb5d783bada",
      "signature": "max_by(arg: VARCHAR, val: BIGINT) → VARCHAR",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BIGINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "VARCHAR",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "VARCHAR",
          "BIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-75c44bbe9d509feb",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-75c44bbe9d509feb",
      "signature": "max_by(arg: VARCHAR, val: BLOB) → VARCHAR",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "BLOB",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "VARCHAR",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "VARCHAR",
          "BLOB"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-90e4a7bd4717c4ef",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-90e4a7bd4717c4ef",
      "signature": "max_by(arg: VARCHAR, val: DATE) → VARCHAR",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DATE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "VARCHAR",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "VARCHAR",
          "DATE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-d0bd0d7b430ea9af",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-d0bd0d7b430ea9af",
      "signature": "max_by(arg: VARCHAR, val: DOUBLE) → VARCHAR",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "DOUBLE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "VARCHAR",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "VARCHAR",
          "DOUBLE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-63ea01d45df0f689",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-63ea01d45df0f689",
      "signature": "max_by(arg: VARCHAR, val: HUGEINT) → VARCHAR",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "HUGEINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "VARCHAR",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "VARCHAR",
          "HUGEINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-e6896786267ce85c",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-e6896786267ce85c",
      "signature": "max_by(arg: VARCHAR, val: INTEGER) → VARCHAR",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "VARCHAR",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "VARCHAR",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-48f02740ac424751",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-48f02740ac424751",
      "signature": "max_by(arg: VARCHAR, val: TIMESTAMP) → VARCHAR",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "VARCHAR",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "VARCHAR",
          "TIMESTAMP"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-48676f25f002ae5d",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-48676f25f002ae5d",
      "signature": "max_by(arg: VARCHAR, val: TIMESTAMP WITH TIME ZONE) → VARCHAR",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "TIMESTAMP WITH TIME ZONE",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "VARCHAR",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "VARCHAR",
          "TIMESTAMP WITH TIME ZONE"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-82e7aecffc081a70",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-82e7aecffc081a70",
      "signature": "max_by(arg: VARCHAR, val: VARCHAR) → VARCHAR",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "VARCHAR",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "VARCHAR",
        "parameters": [
          "arg",
          "val"
        ],
        "parameter_types": [
          "VARCHAR",
          "VARCHAR"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    },
    {
      "id": "overload-4e44d581b37eeb95",
      "url": "/products/haybarn/functions/releases/haybarn-2.0.0-rc12/max_by/#overload-4e44d581b37eeb95",
      "signature": "max_by(arg: ANY, val: ANY, N: BIGINT) → ANY[]",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "arg",
            "type": "ANY",
            "mode": null,
            "position": null
          },
          {
            "name": "val",
            "type": "ANY",
            "mode": null,
            "position": null
          },
          {
            "name": "N",
            "type": "BIGINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "function",
        "operator": null
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "max_by",
        "function_type": "aggregate",
        "description": "Finds the row with the maximum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "ANY[]",
        "parameters": [
          "arg",
          "val",
          "N"
        ],
        "parameter_types": [
          "ANY",
          "ANY",
          "BIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "max_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_max"
      }
    }
  ],
  "editorial": {
    "argumentNotes": [],
    "usage": null,
    "recipes": []
  },
  "examples": [
    {
      "original": "max_by(A, B)",
      "sql": "SELECT max_by(A, B);",
      "overloadIds": [
        "overload-bccdbba524142227",
        "overload-13e878f1e0facc02",
        "overload-641bdba9cac35fa6",
        "overload-91af93b735009ae4",
        "overload-6b65576d30f69536",
        "overload-e38652ff82bb493d",
        "overload-77fe131e3a8843be",
        "overload-076fd2050f01ed42",
        "overload-3e9b651974b41fd4",
        "overload-0b3a04dbb6d260d6",
        "overload-bed57745d5cffa83",
        "overload-fb36bbec7a8a139b",
        "overload-fada492cbe484021",
        "overload-0351718e4a61e4a2",
        "overload-4a4245fccaa3b072",
        "overload-815807b5652cfcca",
        "overload-586139f475b33100",
        "overload-6c59c7f4aa2d37c4",
        "overload-0a21159d51b8c316",
        "overload-23fa6ae768eb1c94",
        "overload-35f282cabab0f723",
        "overload-42edb24a68312388",
        "overload-0b96e0b599f37ccb",
        "overload-f1b66c324e368cdf",
        "overload-4c52eea5050f207d",
        "overload-b8263c9441684263",
        "overload-ad83a6567db00a35",
        "overload-cc69d697e20ed832",
        "overload-e317e1629ff764f1",
        "overload-069d5051f9dac510",
        "overload-28518278cc8a15bd",
        "overload-1c61b72bfc750e16",
        "overload-7c42d0cdff0ab9c2",
        "overload-e43f1bfa9f37b9dc",
        "overload-6f9ed2d12a393c05",
        "overload-0050800b18bba25d",
        "overload-af1cd06a6eb72b6d",
        "overload-e4d2fe8620fb6a1b",
        "overload-850cee5e1abbe92c",
        "overload-605b3bd65588142f",
        "overload-27e5cc6f78168687",
        "overload-7b14ed108b213f53",
        "overload-0e07d3e5d20879b2",
        "overload-daa723f4851e8ae0",
        "overload-91dec546f0034d2d",
        "overload-eb117bb4d64b597c",
        "overload-02bccb9cacc5d7c7",
        "overload-995d7dc315fa412e",
        "overload-6601c43c99d5663d",
        "overload-55530f39ffc8fee1",
        "overload-5aa1ab5c09dc8a48",
        "overload-1d039da43980d184",
        "overload-25d39ce6217ceb01",
        "overload-d1b7124fce6eda5e",
        "overload-0c3d688a87e9c2e5",
        "overload-9dd4a6604b44b71a",
        "overload-70648ac7ffc5b2bc",
        "overload-830c98a1a1f64d43",
        "overload-98d7ab9252d8e3bf",
        "overload-26e40c11f9624ef9",
        "overload-79f4e8692be47c72",
        "overload-55735eca4ca62b98",
        "overload-507cf17c031a08ec",
        "overload-9f9f347aa8c6aa2a",
        "overload-b7ef1431f1d08dd8",
        "overload-3cc44a3f90145a56",
        "overload-fa51d2d454111ff9",
        "overload-3f485d9933fce2a9",
        "overload-b10a4e0b6718b8c7",
        "overload-b7a8a79ae2727861",
        "overload-f1b55e7c3498bd7d",
        "overload-637bcc529f5cb013",
        "overload-4d584d9fe6215db7",
        "overload-a783ee576b9b8a97",
        "overload-891afaf862a2e9c5",
        "overload-1f3020782f51daf6",
        "overload-c75583f5c8cba557",
        "overload-d4f1b46f4ea46138",
        "overload-2dc85eaf5609b2ad",
        "overload-4d67c0fffe3b868d",
        "overload-97a53f38a83b57c5",
        "overload-946697a7688206c9",
        "overload-498fefb5d783bada",
        "overload-75c44bbe9d509feb",
        "overload-90e4a7bd4717c4ef",
        "overload-d0bd0d7b430ea9af",
        "overload-63ea01d45df0f689",
        "overload-e6896786267ce85c",
        "overload-48f02740ac424751",
        "overload-48676f25f002ae5d",
        "overload-82e7aecffc081a70",
        "overload-4e44d581b37eeb95"
      ],
      "source": "engine-catalog",
      "verification": null
    }
  ],
  "translations": [],
  "runnableExamples": [
    {
      "function": "max_by",
      "original": "max_by(A, B)",
      "sql": "SELECT max_by(A, B)\nFROM (VALUES\n  (10, 10),\n  (20, 20),\n  (NULL, NULL)\n) AS sample(\"A\", \"B\");",
      "source": "catalog-with-sample-data",
      "verification": {
        "engine": "haybarn-wasm",
        "packageVersion": "2.0.0-rc12",
        "sourceId": "9b1a0c5829",
        "binarySha256": "07ab540b40e7dded86546a179f58276085900a44e92d1aa070072360c1f78ae6",
        "rowCount": 1
      }
    }
  ],
  "additionalDocumentation": [
    {
      "title": "Aggregate Functions",
      "url": "https://duckdb.org/docs/current/sql/functions/aggregates#arg_maxarg-val"
    }
  ],
  "availability": [
    {
      "snapshot": "haybarn-2.0.0-rc12",
      "observed": true,
      "overloadCount": 92,
      "matchingOverloadIds": [
        "overload-4e44d581b37eeb95",
        "overload-bccdbba524142227",
        "overload-13e878f1e0facc02",
        "overload-641bdba9cac35fa6",
        "overload-91af93b735009ae4",
        "overload-6b65576d30f69536",
        "overload-e38652ff82bb493d",
        "overload-77fe131e3a8843be",
        "overload-3e9b651974b41fd4",
        "overload-076fd2050f01ed42",
        "overload-0b3a04dbb6d260d6",
        "overload-bed57745d5cffa83",
        "overload-fb36bbec7a8a139b",
        "overload-fada492cbe484021",
        "overload-0351718e4a61e4a2",
        "overload-4a4245fccaa3b072",
        "overload-815807b5652cfcca",
        "overload-6c59c7f4aa2d37c4",
        "overload-586139f475b33100",
        "overload-0a21159d51b8c316",
        "overload-23fa6ae768eb1c94",
        "overload-35f282cabab0f723",
        "overload-42edb24a68312388",
        "overload-0b96e0b599f37ccb",
        "overload-f1b66c324e368cdf",
        "overload-4c52eea5050f207d",
        "overload-ad83a6567db00a35",
        "overload-b8263c9441684263",
        "overload-cc69d697e20ed832",
        "overload-e317e1629ff764f1",
        "overload-069d5051f9dac510",
        "overload-28518278cc8a15bd",
        "overload-1c61b72bfc750e16",
        "overload-7c42d0cdff0ab9c2",
        "overload-e43f1bfa9f37b9dc",
        "overload-0050800b18bba25d",
        "overload-6f9ed2d12a393c05",
        "overload-af1cd06a6eb72b6d",
        "overload-e4d2fe8620fb6a1b",
        "overload-850cee5e1abbe92c",
        "overload-605b3bd65588142f",
        "overload-27e5cc6f78168687",
        "overload-7b14ed108b213f53",
        "overload-0e07d3e5d20879b2",
        "overload-91dec546f0034d2d",
        "overload-daa723f4851e8ae0",
        "overload-eb117bb4d64b597c",
        "overload-02bccb9cacc5d7c7",
        "overload-995d7dc315fa412e",
        "overload-6601c43c99d5663d",
        "overload-55530f39ffc8fee1",
        "overload-5aa1ab5c09dc8a48",
        "overload-1d039da43980d184",
        "overload-d1b7124fce6eda5e",
        "overload-25d39ce6217ceb01",
        "overload-0c3d688a87e9c2e5",
        "overload-9dd4a6604b44b71a",
        "overload-70648ac7ffc5b2bc",
        "overload-830c98a1a1f64d43",
        "overload-98d7ab9252d8e3bf",
        "overload-26e40c11f9624ef9",
        "overload-79f4e8692be47c72",
        "overload-507cf17c031a08ec",
        "overload-55735eca4ca62b98",
        "overload-9f9f347aa8c6aa2a",
        "overload-b7ef1431f1d08dd8",
        "overload-3cc44a3f90145a56",
        "overload-fa51d2d454111ff9",
        "overload-3f485d9933fce2a9",
        "overload-b10a4e0b6718b8c7",
        "overload-b7a8a79ae2727861",
        "overload-637bcc529f5cb013",
        "overload-f1b55e7c3498bd7d",
        "overload-4d584d9fe6215db7",
        "overload-a783ee576b9b8a97",
        "overload-891afaf862a2e9c5",
        "overload-1f3020782f51daf6",
        "overload-c75583f5c8cba557",
        "overload-d4f1b46f4ea46138",
        "overload-2dc85eaf5609b2ad",
        "overload-97a53f38a83b57c5",
        "overload-4d67c0fffe3b868d",
        "overload-946697a7688206c9",
        "overload-498fefb5d783bada",
        "overload-75c44bbe9d509feb",
        "overload-90e4a7bd4717c4ef",
        "overload-d0bd0d7b430ea9af",
        "overload-63ea01d45df0f689",
        "overload-e6896786267ce85c",
        "overload-48676f25f002ae5d",
        "overload-48f02740ac424751",
        "overload-82e7aecffc081a70"
      ],
      "json": "/products/haybarn/functions/api/v1/haybarn-2.0.0-rc12/functions/max_by.json"
    },
    {
      "snapshot": "haybarn-2.0.0-rc11",
      "observed": true,
      "overloadCount": 92,
      "matchingOverloadIds": [
        "overload-4e44d581b37eeb95",
        "overload-bccdbba524142227",
        "overload-13e878f1e0facc02",
        "overload-641bdba9cac35fa6",
        "overload-91af93b735009ae4",
        "overload-6b65576d30f69536",
        "overload-e38652ff82bb493d",
        "overload-77fe131e3a8843be",
        "overload-3e9b651974b41fd4",
        "overload-076fd2050f01ed42",
        "overload-0b3a04dbb6d260d6",
        "overload-bed57745d5cffa83",
        "overload-fb36bbec7a8a139b",
        "overload-fada492cbe484021",
        "overload-0351718e4a61e4a2",
        "overload-4a4245fccaa3b072",
        "overload-815807b5652cfcca",
        "overload-6c59c7f4aa2d37c4",
        "overload-586139f475b33100",
        "overload-0a21159d51b8c316",
        "overload-23fa6ae768eb1c94",
        "overload-35f282cabab0f723",
        "overload-42edb24a68312388",
        "overload-0b96e0b599f37ccb",
        "overload-f1b66c324e368cdf",
        "overload-4c52eea5050f207d",
        "overload-ad83a6567db00a35",
        "overload-b8263c9441684263",
        "overload-cc69d697e20ed832",
        "overload-e317e1629ff764f1",
        "overload-069d5051f9dac510",
        "overload-28518278cc8a15bd",
        "overload-1c61b72bfc750e16",
        "overload-7c42d0cdff0ab9c2",
        "overload-e43f1bfa9f37b9dc",
        "overload-0050800b18bba25d",
        "overload-6f9ed2d12a393c05",
        "overload-af1cd06a6eb72b6d",
        "overload-e4d2fe8620fb6a1b",
        "overload-850cee5e1abbe92c",
        "overload-605b3bd65588142f",
        "overload-27e5cc6f78168687",
        "overload-7b14ed108b213f53",
        "overload-0e07d3e5d20879b2",
        "overload-91dec546f0034d2d",
        "overload-daa723f4851e8ae0",
        "overload-eb117bb4d64b597c",
        "overload-02bccb9cacc5d7c7",
        "overload-995d7dc315fa412e",
        "overload-6601c43c99d5663d",
        "overload-55530f39ffc8fee1",
        "overload-5aa1ab5c09dc8a48",
        "overload-1d039da43980d184",
        "overload-d1b7124fce6eda5e",
        "overload-25d39ce6217ceb01",
        "overload-0c3d688a87e9c2e5",
        "overload-9dd4a6604b44b71a",
        "overload-70648ac7ffc5b2bc",
        "overload-830c98a1a1f64d43",
        "overload-98d7ab9252d8e3bf",
        "overload-26e40c11f9624ef9",
        "overload-79f4e8692be47c72",
        "overload-507cf17c031a08ec",
        "overload-55735eca4ca62b98",
        "overload-9f9f347aa8c6aa2a",
        "overload-b7ef1431f1d08dd8",
        "overload-3cc44a3f90145a56",
        "overload-fa51d2d454111ff9",
        "overload-3f485d9933fce2a9",
        "overload-b10a4e0b6718b8c7",
        "overload-b7a8a79ae2727861",
        "overload-637bcc529f5cb013",
        "overload-f1b55e7c3498bd7d",
        "overload-4d584d9fe6215db7",
        "overload-a783ee576b9b8a97",
        "overload-891afaf862a2e9c5",
        "overload-1f3020782f51daf6",
        "overload-c75583f5c8cba557",
        "overload-d4f1b46f4ea46138",
        "overload-2dc85eaf5609b2ad",
        "overload-97a53f38a83b57c5",
        "overload-4d67c0fffe3b868d",
        "overload-946697a7688206c9",
        "overload-498fefb5d783bada",
        "overload-75c44bbe9d509feb",
        "overload-90e4a7bd4717c4ef",
        "overload-d0bd0d7b430ea9af",
        "overload-63ea01d45df0f689",
        "overload-e6896786267ce85c",
        "overload-48676f25f002ae5d",
        "overload-48f02740ac424751",
        "overload-82e7aecffc081a70"
      ],
      "json": "/products/haybarn/functions/api/v1/haybarn-2.0.0-rc11/functions/max_by.json"
    },
    {
      "snapshot": "haybarn-2.0.0-rc8",
      "observed": true,
      "overloadCount": 92,
      "matchingOverloadIds": [
        "overload-4e44d581b37eeb95",
        "overload-bccdbba524142227",
        "overload-13e878f1e0facc02",
        "overload-641bdba9cac35fa6",
        "overload-91af93b735009ae4",
        "overload-6b65576d30f69536",
        "overload-e38652ff82bb493d",
        "overload-77fe131e3a8843be",
        "overload-3e9b651974b41fd4",
        "overload-076fd2050f01ed42",
        "overload-0b3a04dbb6d260d6",
        "overload-bed57745d5cffa83",
        "overload-fb36bbec7a8a139b",
        "overload-fada492cbe484021",
        "overload-0351718e4a61e4a2",
        "overload-4a4245fccaa3b072",
        "overload-815807b5652cfcca",
        "overload-6c59c7f4aa2d37c4",
        "overload-586139f475b33100",
        "overload-0a21159d51b8c316",
        "overload-23fa6ae768eb1c94",
        "overload-35f282cabab0f723",
        "overload-42edb24a68312388",
        "overload-0b96e0b599f37ccb",
        "overload-f1b66c324e368cdf",
        "overload-4c52eea5050f207d",
        "overload-ad83a6567db00a35",
        "overload-b8263c9441684263",
        "overload-cc69d697e20ed832",
        "overload-e317e1629ff764f1",
        "overload-069d5051f9dac510",
        "overload-28518278cc8a15bd",
        "overload-1c61b72bfc750e16",
        "overload-7c42d0cdff0ab9c2",
        "overload-e43f1bfa9f37b9dc",
        "overload-0050800b18bba25d",
        "overload-6f9ed2d12a393c05",
        "overload-af1cd06a6eb72b6d",
        "overload-e4d2fe8620fb6a1b",
        "overload-850cee5e1abbe92c",
        "overload-605b3bd65588142f",
        "overload-27e5cc6f78168687",
        "overload-7b14ed108b213f53",
        "overload-0e07d3e5d20879b2",
        "overload-91dec546f0034d2d",
        "overload-daa723f4851e8ae0",
        "overload-eb117bb4d64b597c",
        "overload-02bccb9cacc5d7c7",
        "overload-995d7dc315fa412e",
        "overload-6601c43c99d5663d",
        "overload-55530f39ffc8fee1",
        "overload-5aa1ab5c09dc8a48",
        "overload-1d039da43980d184",
        "overload-d1b7124fce6eda5e",
        "overload-25d39ce6217ceb01",
        "overload-0c3d688a87e9c2e5",
        "overload-9dd4a6604b44b71a",
        "overload-70648ac7ffc5b2bc",
        "overload-830c98a1a1f64d43",
        "overload-98d7ab9252d8e3bf",
        "overload-26e40c11f9624ef9",
        "overload-79f4e8692be47c72",
        "overload-507cf17c031a08ec",
        "overload-55735eca4ca62b98",
        "overload-9f9f347aa8c6aa2a",
        "overload-b7ef1431f1d08dd8",
        "overload-3cc44a3f90145a56",
        "overload-fa51d2d454111ff9",
        "overload-3f485d9933fce2a9",
        "overload-b10a4e0b6718b8c7",
        "overload-b7a8a79ae2727861",
        "overload-637bcc529f5cb013",
        "overload-f1b55e7c3498bd7d",
        "overload-4d584d9fe6215db7",
        "overload-a783ee576b9b8a97",
        "overload-891afaf862a2e9c5",
        "overload-1f3020782f51daf6",
        "overload-c75583f5c8cba557",
        "overload-d4f1b46f4ea46138",
        "overload-2dc85eaf5609b2ad",
        "overload-97a53f38a83b57c5",
        "overload-4d67c0fffe3b868d",
        "overload-946697a7688206c9",
        "overload-498fefb5d783bada",
        "overload-75c44bbe9d509feb",
        "overload-90e4a7bd4717c4ef",
        "overload-d0bd0d7b430ea9af",
        "overload-63ea01d45df0f689",
        "overload-e6896786267ce85c",
        "overload-48676f25f002ae5d",
        "overload-48f02740ac424751",
        "overload-82e7aecffc081a70"
      ],
      "json": "/products/haybarn/functions/api/v1/haybarn-2.0.0-rc8/functions/max_by.json"
    },
    {
      "snapshot": "haybarn-1.5.5-rc3",
      "observed": true,
      "overloadCount": 92,
      "matchingOverloadIds": [
        "overload-bccdbba524142227",
        "overload-13e878f1e0facc02",
        "overload-641bdba9cac35fa6",
        "overload-91af93b735009ae4",
        "overload-6b65576d30f69536",
        "overload-e38652ff82bb493d",
        "overload-77fe131e3a8843be",
        "overload-3e9b651974b41fd4",
        "overload-076fd2050f01ed42",
        "overload-0b3a04dbb6d260d6",
        "overload-bed57745d5cffa83",
        "overload-fb36bbec7a8a139b",
        "overload-fada492cbe484021",
        "overload-0351718e4a61e4a2",
        "overload-4a4245fccaa3b072",
        "overload-815807b5652cfcca",
        "overload-6c59c7f4aa2d37c4",
        "overload-586139f475b33100",
        "overload-0a21159d51b8c316",
        "overload-23fa6ae768eb1c94",
        "overload-35f282cabab0f723",
        "overload-42edb24a68312388",
        "overload-0b96e0b599f37ccb",
        "overload-f1b66c324e368cdf",
        "overload-4c52eea5050f207d",
        "overload-ad83a6567db00a35",
        "overload-b8263c9441684263",
        "overload-cc69d697e20ed832",
        "overload-e317e1629ff764f1",
        "overload-069d5051f9dac510",
        "overload-28518278cc8a15bd",
        "overload-1c61b72bfc750e16",
        "overload-7c42d0cdff0ab9c2",
        "overload-e43f1bfa9f37b9dc",
        "overload-0050800b18bba25d",
        "overload-6f9ed2d12a393c05",
        "overload-af1cd06a6eb72b6d",
        "overload-e4d2fe8620fb6a1b",
        "overload-850cee5e1abbe92c",
        "overload-605b3bd65588142f",
        "overload-27e5cc6f78168687",
        "overload-7b14ed108b213f53",
        "overload-0e07d3e5d20879b2",
        "overload-91dec546f0034d2d",
        "overload-daa723f4851e8ae0",
        "overload-eb117bb4d64b597c",
        "overload-02bccb9cacc5d7c7",
        "overload-995d7dc315fa412e",
        "overload-6601c43c99d5663d",
        "overload-55530f39ffc8fee1",
        "overload-5aa1ab5c09dc8a48",
        "overload-1d039da43980d184",
        "overload-d1b7124fce6eda5e",
        "overload-25d39ce6217ceb01",
        "overload-0c3d688a87e9c2e5",
        "overload-9dd4a6604b44b71a",
        "overload-70648ac7ffc5b2bc",
        "overload-830c98a1a1f64d43",
        "overload-98d7ab9252d8e3bf",
        "overload-26e40c11f9624ef9",
        "overload-79f4e8692be47c72",
        "overload-507cf17c031a08ec",
        "overload-55735eca4ca62b98",
        "overload-9f9f347aa8c6aa2a",
        "overload-b7ef1431f1d08dd8",
        "overload-3cc44a3f90145a56",
        "overload-fa51d2d454111ff9",
        "overload-3f485d9933fce2a9",
        "overload-b10a4e0b6718b8c7",
        "overload-b7a8a79ae2727861",
        "overload-637bcc529f5cb013",
        "overload-f1b55e7c3498bd7d",
        "overload-4d584d9fe6215db7",
        "overload-a783ee576b9b8a97",
        "overload-891afaf862a2e9c5",
        "overload-1f3020782f51daf6",
        "overload-c75583f5c8cba557",
        "overload-d4f1b46f4ea46138",
        "overload-2dc85eaf5609b2ad",
        "overload-97a53f38a83b57c5",
        "overload-4d67c0fffe3b868d",
        "overload-946697a7688206c9",
        "overload-498fefb5d783bada",
        "overload-75c44bbe9d509feb",
        "overload-90e4a7bd4717c4ef",
        "overload-d0bd0d7b430ea9af",
        "overload-63ea01d45df0f689",
        "overload-e6896786267ce85c",
        "overload-48676f25f002ae5d",
        "overload-48f02740ac424751",
        "overload-82e7aecffc081a70"
      ],
      "json": "/products/haybarn/functions/api/v1/haybarn-1.5.5-rc3/functions/max_by.json"
    },
    {
      "snapshot": "haybarn-1.5.6-rc6",
      "observed": true,
      "overloadCount": 92,
      "matchingOverloadIds": [
        "overload-bccdbba524142227",
        "overload-13e878f1e0facc02",
        "overload-641bdba9cac35fa6",
        "overload-91af93b735009ae4",
        "overload-6b65576d30f69536",
        "overload-e38652ff82bb493d",
        "overload-77fe131e3a8843be",
        "overload-3e9b651974b41fd4",
        "overload-076fd2050f01ed42",
        "overload-0b3a04dbb6d260d6",
        "overload-bed57745d5cffa83",
        "overload-fb36bbec7a8a139b",
        "overload-fada492cbe484021",
        "overload-0351718e4a61e4a2",
        "overload-4a4245fccaa3b072",
        "overload-815807b5652cfcca",
        "overload-6c59c7f4aa2d37c4",
        "overload-586139f475b33100",
        "overload-0a21159d51b8c316",
        "overload-23fa6ae768eb1c94",
        "overload-35f282cabab0f723",
        "overload-42edb24a68312388",
        "overload-0b96e0b599f37ccb",
        "overload-f1b66c324e368cdf",
        "overload-4c52eea5050f207d",
        "overload-ad83a6567db00a35",
        "overload-b8263c9441684263",
        "overload-cc69d697e20ed832",
        "overload-e317e1629ff764f1",
        "overload-069d5051f9dac510",
        "overload-28518278cc8a15bd",
        "overload-1c61b72bfc750e16",
        "overload-7c42d0cdff0ab9c2",
        "overload-e43f1bfa9f37b9dc",
        "overload-0050800b18bba25d",
        "overload-6f9ed2d12a393c05",
        "overload-af1cd06a6eb72b6d",
        "overload-e4d2fe8620fb6a1b",
        "overload-850cee5e1abbe92c",
        "overload-605b3bd65588142f",
        "overload-27e5cc6f78168687",
        "overload-7b14ed108b213f53",
        "overload-0e07d3e5d20879b2",
        "overload-91dec546f0034d2d",
        "overload-daa723f4851e8ae0",
        "overload-eb117bb4d64b597c",
        "overload-02bccb9cacc5d7c7",
        "overload-995d7dc315fa412e",
        "overload-6601c43c99d5663d",
        "overload-55530f39ffc8fee1",
        "overload-5aa1ab5c09dc8a48",
        "overload-1d039da43980d184",
        "overload-d1b7124fce6eda5e",
        "overload-25d39ce6217ceb01",
        "overload-0c3d688a87e9c2e5",
        "overload-9dd4a6604b44b71a",
        "overload-70648ac7ffc5b2bc",
        "overload-830c98a1a1f64d43",
        "overload-98d7ab9252d8e3bf",
        "overload-26e40c11f9624ef9",
        "overload-79f4e8692be47c72",
        "overload-507cf17c031a08ec",
        "overload-55735eca4ca62b98",
        "overload-9f9f347aa8c6aa2a",
        "overload-b7ef1431f1d08dd8",
        "overload-3cc44a3f90145a56",
        "overload-fa51d2d454111ff9",
        "overload-3f485d9933fce2a9",
        "overload-b10a4e0b6718b8c7",
        "overload-b7a8a79ae2727861",
        "overload-637bcc529f5cb013",
        "overload-f1b55e7c3498bd7d",
        "overload-4d584d9fe6215db7",
        "overload-a783ee576b9b8a97",
        "overload-891afaf862a2e9c5",
        "overload-1f3020782f51daf6",
        "overload-c75583f5c8cba557",
        "overload-d4f1b46f4ea46138",
        "overload-2dc85eaf5609b2ad",
        "overload-97a53f38a83b57c5",
        "overload-4d67c0fffe3b868d",
        "overload-946697a7688206c9",
        "overload-498fefb5d783bada",
        "overload-75c44bbe9d509feb",
        "overload-90e4a7bd4717c4ef",
        "overload-d0bd0d7b430ea9af",
        "overload-63ea01d45df0f689",
        "overload-e6896786267ce85c",
        "overload-48676f25f002ae5d",
        "overload-48f02740ac424751",
        "overload-82e7aecffc081a70"
      ],
      "json": "/products/haybarn/functions/api/v1/haybarn-1.5.6-rc6/functions/max_by.json"
    },
    {
      "snapshot": "duckdb-2.0.0",
      "observed": true,
      "overloadCount": 92,
      "matchingOverloadIds": [
        "overload-4e44d581b37eeb95",
        "overload-bccdbba524142227",
        "overload-13e878f1e0facc02",
        "overload-641bdba9cac35fa6",
        "overload-91af93b735009ae4",
        "overload-6b65576d30f69536",
        "overload-e38652ff82bb493d",
        "overload-77fe131e3a8843be",
        "overload-3e9b651974b41fd4",
        "overload-076fd2050f01ed42",
        "overload-0b3a04dbb6d260d6",
        "overload-bed57745d5cffa83",
        "overload-fb36bbec7a8a139b",
        "overload-fada492cbe484021",
        "overload-0351718e4a61e4a2",
        "overload-4a4245fccaa3b072",
        "overload-815807b5652cfcca",
        "overload-6c59c7f4aa2d37c4",
        "overload-586139f475b33100",
        "overload-0a21159d51b8c316",
        "overload-23fa6ae768eb1c94",
        "overload-35f282cabab0f723",
        "overload-42edb24a68312388",
        "overload-0b96e0b599f37ccb",
        "overload-f1b66c324e368cdf",
        "overload-4c52eea5050f207d",
        "overload-ad83a6567db00a35",
        "overload-b8263c9441684263",
        "overload-cc69d697e20ed832",
        "overload-e317e1629ff764f1",
        "overload-069d5051f9dac510",
        "overload-28518278cc8a15bd",
        "overload-1c61b72bfc750e16",
        "overload-7c42d0cdff0ab9c2",
        "overload-e43f1bfa9f37b9dc",
        "overload-0050800b18bba25d",
        "overload-6f9ed2d12a393c05",
        "overload-af1cd06a6eb72b6d",
        "overload-e4d2fe8620fb6a1b",
        "overload-850cee5e1abbe92c",
        "overload-605b3bd65588142f",
        "overload-27e5cc6f78168687",
        "overload-7b14ed108b213f53",
        "overload-0e07d3e5d20879b2",
        "overload-91dec546f0034d2d",
        "overload-daa723f4851e8ae0",
        "overload-eb117bb4d64b597c",
        "overload-02bccb9cacc5d7c7",
        "overload-995d7dc315fa412e",
        "overload-6601c43c99d5663d",
        "overload-55530f39ffc8fee1",
        "overload-5aa1ab5c09dc8a48",
        "overload-1d039da43980d184",
        "overload-d1b7124fce6eda5e",
        "overload-25d39ce6217ceb01",
        "overload-0c3d688a87e9c2e5",
        "overload-9dd4a6604b44b71a",
        "overload-70648ac7ffc5b2bc",
        "overload-830c98a1a1f64d43",
        "overload-98d7ab9252d8e3bf",
        "overload-26e40c11f9624ef9",
        "overload-79f4e8692be47c72",
        "overload-507cf17c031a08ec",
        "overload-55735eca4ca62b98",
        "overload-9f9f347aa8c6aa2a",
        "overload-b7ef1431f1d08dd8",
        "overload-3cc44a3f90145a56",
        "overload-fa51d2d454111ff9",
        "overload-3f485d9933fce2a9",
        "overload-b10a4e0b6718b8c7",
        "overload-b7a8a79ae2727861",
        "overload-637bcc529f5cb013",
        "overload-f1b55e7c3498bd7d",
        "overload-4d584d9fe6215db7",
        "overload-a783ee576b9b8a97",
        "overload-891afaf862a2e9c5",
        "overload-1f3020782f51daf6",
        "overload-c75583f5c8cba557",
        "overload-d4f1b46f4ea46138",
        "overload-2dc85eaf5609b2ad",
        "overload-97a53f38a83b57c5",
        "overload-4d67c0fffe3b868d",
        "overload-946697a7688206c9",
        "overload-498fefb5d783bada",
        "overload-75c44bbe9d509feb",
        "overload-90e4a7bd4717c4ef",
        "overload-d0bd0d7b430ea9af",
        "overload-63ea01d45df0f689",
        "overload-e6896786267ce85c",
        "overload-48676f25f002ae5d",
        "overload-48f02740ac424751",
        "overload-82e7aecffc081a70"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-2.0.0/functions/max_by.json"
    },
    {
      "snapshot": "duckdb-1.5.6",
      "observed": true,
      "overloadCount": 92,
      "matchingOverloadIds": [
        "overload-bccdbba524142227",
        "overload-13e878f1e0facc02",
        "overload-641bdba9cac35fa6",
        "overload-91af93b735009ae4",
        "overload-6b65576d30f69536",
        "overload-e38652ff82bb493d",
        "overload-77fe131e3a8843be",
        "overload-3e9b651974b41fd4",
        "overload-076fd2050f01ed42",
        "overload-0b3a04dbb6d260d6",
        "overload-bed57745d5cffa83",
        "overload-fb36bbec7a8a139b",
        "overload-fada492cbe484021",
        "overload-0351718e4a61e4a2",
        "overload-4a4245fccaa3b072",
        "overload-815807b5652cfcca",
        "overload-6c59c7f4aa2d37c4",
        "overload-586139f475b33100",
        "overload-0a21159d51b8c316",
        "overload-23fa6ae768eb1c94",
        "overload-35f282cabab0f723",
        "overload-42edb24a68312388",
        "overload-0b96e0b599f37ccb",
        "overload-f1b66c324e368cdf",
        "overload-4c52eea5050f207d",
        "overload-ad83a6567db00a35",
        "overload-b8263c9441684263",
        "overload-cc69d697e20ed832",
        "overload-e317e1629ff764f1",
        "overload-069d5051f9dac510",
        "overload-28518278cc8a15bd",
        "overload-1c61b72bfc750e16",
        "overload-7c42d0cdff0ab9c2",
        "overload-e43f1bfa9f37b9dc",
        "overload-0050800b18bba25d",
        "overload-6f9ed2d12a393c05",
        "overload-af1cd06a6eb72b6d",
        "overload-e4d2fe8620fb6a1b",
        "overload-850cee5e1abbe92c",
        "overload-605b3bd65588142f",
        "overload-27e5cc6f78168687",
        "overload-7b14ed108b213f53",
        "overload-0e07d3e5d20879b2",
        "overload-91dec546f0034d2d",
        "overload-daa723f4851e8ae0",
        "overload-eb117bb4d64b597c",
        "overload-02bccb9cacc5d7c7",
        "overload-995d7dc315fa412e",
        "overload-6601c43c99d5663d",
        "overload-55530f39ffc8fee1",
        "overload-5aa1ab5c09dc8a48",
        "overload-1d039da43980d184",
        "overload-d1b7124fce6eda5e",
        "overload-25d39ce6217ceb01",
        "overload-0c3d688a87e9c2e5",
        "overload-9dd4a6604b44b71a",
        "overload-70648ac7ffc5b2bc",
        "overload-830c98a1a1f64d43",
        "overload-98d7ab9252d8e3bf",
        "overload-26e40c11f9624ef9",
        "overload-79f4e8692be47c72",
        "overload-507cf17c031a08ec",
        "overload-55735eca4ca62b98",
        "overload-9f9f347aa8c6aa2a",
        "overload-b7ef1431f1d08dd8",
        "overload-3cc44a3f90145a56",
        "overload-fa51d2d454111ff9",
        "overload-3f485d9933fce2a9",
        "overload-b10a4e0b6718b8c7",
        "overload-b7a8a79ae2727861",
        "overload-637bcc529f5cb013",
        "overload-f1b55e7c3498bd7d",
        "overload-4d584d9fe6215db7",
        "overload-a783ee576b9b8a97",
        "overload-891afaf862a2e9c5",
        "overload-1f3020782f51daf6",
        "overload-c75583f5c8cba557",
        "overload-d4f1b46f4ea46138",
        "overload-2dc85eaf5609b2ad",
        "overload-97a53f38a83b57c5",
        "overload-4d67c0fffe3b868d",
        "overload-946697a7688206c9",
        "overload-498fefb5d783bada",
        "overload-75c44bbe9d509feb",
        "overload-90e4a7bd4717c4ef",
        "overload-d0bd0d7b430ea9af",
        "overload-63ea01d45df0f689",
        "overload-e6896786267ce85c",
        "overload-48676f25f002ae5d",
        "overload-48f02740ac424751",
        "overload-82e7aecffc081a70"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-1.5.6/functions/max_by.json"
    },
    {
      "snapshot": "duckdb-1.5.5",
      "observed": true,
      "overloadCount": 92,
      "matchingOverloadIds": [
        "overload-bccdbba524142227",
        "overload-13e878f1e0facc02",
        "overload-641bdba9cac35fa6",
        "overload-91af93b735009ae4",
        "overload-6b65576d30f69536",
        "overload-e38652ff82bb493d",
        "overload-77fe131e3a8843be",
        "overload-3e9b651974b41fd4",
        "overload-076fd2050f01ed42",
        "overload-0b3a04dbb6d260d6",
        "overload-bed57745d5cffa83",
        "overload-fb36bbec7a8a139b",
        "overload-fada492cbe484021",
        "overload-0351718e4a61e4a2",
        "overload-4a4245fccaa3b072",
        "overload-815807b5652cfcca",
        "overload-6c59c7f4aa2d37c4",
        "overload-586139f475b33100",
        "overload-0a21159d51b8c316",
        "overload-23fa6ae768eb1c94",
        "overload-35f282cabab0f723",
        "overload-42edb24a68312388",
        "overload-0b96e0b599f37ccb",
        "overload-f1b66c324e368cdf",
        "overload-4c52eea5050f207d",
        "overload-ad83a6567db00a35",
        "overload-b8263c9441684263",
        "overload-cc69d697e20ed832",
        "overload-e317e1629ff764f1",
        "overload-069d5051f9dac510",
        "overload-28518278cc8a15bd",
        "overload-1c61b72bfc750e16",
        "overload-7c42d0cdff0ab9c2",
        "overload-e43f1bfa9f37b9dc",
        "overload-0050800b18bba25d",
        "overload-6f9ed2d12a393c05",
        "overload-af1cd06a6eb72b6d",
        "overload-e4d2fe8620fb6a1b",
        "overload-850cee5e1abbe92c",
        "overload-605b3bd65588142f",
        "overload-27e5cc6f78168687",
        "overload-7b14ed108b213f53",
        "overload-0e07d3e5d20879b2",
        "overload-91dec546f0034d2d",
        "overload-daa723f4851e8ae0",
        "overload-eb117bb4d64b597c",
        "overload-02bccb9cacc5d7c7",
        "overload-995d7dc315fa412e",
        "overload-6601c43c99d5663d",
        "overload-55530f39ffc8fee1",
        "overload-5aa1ab5c09dc8a48",
        "overload-1d039da43980d184",
        "overload-d1b7124fce6eda5e",
        "overload-25d39ce6217ceb01",
        "overload-0c3d688a87e9c2e5",
        "overload-9dd4a6604b44b71a",
        "overload-70648ac7ffc5b2bc",
        "overload-830c98a1a1f64d43",
        "overload-98d7ab9252d8e3bf",
        "overload-26e40c11f9624ef9",
        "overload-79f4e8692be47c72",
        "overload-507cf17c031a08ec",
        "overload-55735eca4ca62b98",
        "overload-9f9f347aa8c6aa2a",
        "overload-b7ef1431f1d08dd8",
        "overload-3cc44a3f90145a56",
        "overload-fa51d2d454111ff9",
        "overload-3f485d9933fce2a9",
        "overload-b10a4e0b6718b8c7",
        "overload-b7a8a79ae2727861",
        "overload-637bcc529f5cb013",
        "overload-f1b55e7c3498bd7d",
        "overload-4d584d9fe6215db7",
        "overload-a783ee576b9b8a97",
        "overload-891afaf862a2e9c5",
        "overload-1f3020782f51daf6",
        "overload-c75583f5c8cba557",
        "overload-d4f1b46f4ea46138",
        "overload-2dc85eaf5609b2ad",
        "overload-97a53f38a83b57c5",
        "overload-4d67c0fffe3b868d",
        "overload-946697a7688206c9",
        "overload-498fefb5d783bada",
        "overload-75c44bbe9d509feb",
        "overload-90e4a7bd4717c4ef",
        "overload-d0bd0d7b430ea9af",
        "overload-63ea01d45df0f689",
        "overload-e6896786267ce85c",
        "overload-48676f25f002ae5d",
        "overload-48f02740ac424751",
        "overload-82e7aecffc081a70"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-1.5.5/functions/max_by.json"
    },
    {
      "snapshot": "duckdb-1.4.4",
      "observed": true,
      "overloadCount": 92,
      "matchingOverloadIds": [
        "overload-bccdbba524142227",
        "overload-13e878f1e0facc02",
        "overload-641bdba9cac35fa6",
        "overload-91af93b735009ae4",
        "overload-6b65576d30f69536",
        "overload-e38652ff82bb493d",
        "overload-77fe131e3a8843be",
        "overload-3e9b651974b41fd4",
        "overload-076fd2050f01ed42",
        "overload-0b3a04dbb6d260d6",
        "overload-bed57745d5cffa83",
        "overload-fb36bbec7a8a139b",
        "overload-fada492cbe484021",
        "overload-0351718e4a61e4a2",
        "overload-4a4245fccaa3b072",
        "overload-815807b5652cfcca",
        "overload-6c59c7f4aa2d37c4",
        "overload-586139f475b33100",
        "overload-0a21159d51b8c316",
        "overload-23fa6ae768eb1c94",
        "overload-35f282cabab0f723",
        "overload-42edb24a68312388",
        "overload-0b96e0b599f37ccb",
        "overload-f1b66c324e368cdf",
        "overload-4c52eea5050f207d",
        "overload-ad83a6567db00a35",
        "overload-b8263c9441684263",
        "overload-cc69d697e20ed832",
        "overload-e317e1629ff764f1",
        "overload-069d5051f9dac510",
        "overload-28518278cc8a15bd",
        "overload-1c61b72bfc750e16",
        "overload-7c42d0cdff0ab9c2",
        "overload-e43f1bfa9f37b9dc",
        "overload-0050800b18bba25d",
        "overload-6f9ed2d12a393c05",
        "overload-af1cd06a6eb72b6d",
        "overload-e4d2fe8620fb6a1b",
        "overload-850cee5e1abbe92c",
        "overload-605b3bd65588142f",
        "overload-27e5cc6f78168687",
        "overload-7b14ed108b213f53",
        "overload-0e07d3e5d20879b2",
        "overload-91dec546f0034d2d",
        "overload-daa723f4851e8ae0",
        "overload-eb117bb4d64b597c",
        "overload-02bccb9cacc5d7c7",
        "overload-995d7dc315fa412e",
        "overload-6601c43c99d5663d",
        "overload-55530f39ffc8fee1",
        "overload-5aa1ab5c09dc8a48",
        "overload-1d039da43980d184",
        "overload-d1b7124fce6eda5e",
        "overload-25d39ce6217ceb01",
        "overload-0c3d688a87e9c2e5",
        "overload-9dd4a6604b44b71a",
        "overload-70648ac7ffc5b2bc",
        "overload-830c98a1a1f64d43",
        "overload-98d7ab9252d8e3bf",
        "overload-26e40c11f9624ef9",
        "overload-79f4e8692be47c72",
        "overload-507cf17c031a08ec",
        "overload-55735eca4ca62b98",
        "overload-9f9f347aa8c6aa2a",
        "overload-b7ef1431f1d08dd8",
        "overload-3cc44a3f90145a56",
        "overload-fa51d2d454111ff9",
        "overload-3f485d9933fce2a9",
        "overload-b10a4e0b6718b8c7",
        "overload-b7a8a79ae2727861",
        "overload-637bcc529f5cb013",
        "overload-f1b55e7c3498bd7d",
        "overload-4d584d9fe6215db7",
        "overload-a783ee576b9b8a97",
        "overload-891afaf862a2e9c5",
        "overload-1f3020782f51daf6",
        "overload-c75583f5c8cba557",
        "overload-d4f1b46f4ea46138",
        "overload-2dc85eaf5609b2ad",
        "overload-97a53f38a83b57c5",
        "overload-4d67c0fffe3b868d",
        "overload-946697a7688206c9",
        "overload-498fefb5d783bada",
        "overload-75c44bbe9d509feb",
        "overload-90e4a7bd4717c4ef",
        "overload-d0bd0d7b430ea9af",
        "overload-63ea01d45df0f689",
        "overload-e6896786267ce85c",
        "overload-48676f25f002ae5d",
        "overload-48f02740ac424751",
        "overload-82e7aecffc081a70"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-1.4.4/functions/max_by.json"
    },
    {
      "snapshot": "duckdb-1.3.2",
      "observed": true,
      "overloadCount": 92,
      "matchingOverloadIds": [
        "overload-bccdbba524142227",
        "overload-13e878f1e0facc02",
        "overload-641bdba9cac35fa6",
        "overload-91af93b735009ae4",
        "overload-6b65576d30f69536",
        "overload-e38652ff82bb493d",
        "overload-77fe131e3a8843be",
        "overload-3e9b651974b41fd4",
        "overload-076fd2050f01ed42",
        "overload-0b3a04dbb6d260d6",
        "overload-bed57745d5cffa83",
        "overload-fb36bbec7a8a139b",
        "overload-fada492cbe484021",
        "overload-0351718e4a61e4a2",
        "overload-4a4245fccaa3b072",
        "overload-815807b5652cfcca",
        "overload-6c59c7f4aa2d37c4",
        "overload-586139f475b33100",
        "overload-0a21159d51b8c316",
        "overload-23fa6ae768eb1c94",
        "overload-35f282cabab0f723",
        "overload-42edb24a68312388",
        "overload-0b96e0b599f37ccb",
        "overload-f1b66c324e368cdf",
        "overload-4c52eea5050f207d",
        "overload-ad83a6567db00a35",
        "overload-b8263c9441684263",
        "overload-cc69d697e20ed832",
        "overload-e317e1629ff764f1",
        "overload-069d5051f9dac510",
        "overload-28518278cc8a15bd",
        "overload-1c61b72bfc750e16",
        "overload-7c42d0cdff0ab9c2",
        "overload-e43f1bfa9f37b9dc",
        "overload-0050800b18bba25d",
        "overload-6f9ed2d12a393c05",
        "overload-af1cd06a6eb72b6d",
        "overload-e4d2fe8620fb6a1b",
        "overload-850cee5e1abbe92c",
        "overload-605b3bd65588142f",
        "overload-27e5cc6f78168687",
        "overload-7b14ed108b213f53",
        "overload-0e07d3e5d20879b2",
        "overload-91dec546f0034d2d",
        "overload-daa723f4851e8ae0",
        "overload-eb117bb4d64b597c",
        "overload-02bccb9cacc5d7c7",
        "overload-995d7dc315fa412e",
        "overload-6601c43c99d5663d",
        "overload-55530f39ffc8fee1",
        "overload-5aa1ab5c09dc8a48",
        "overload-1d039da43980d184",
        "overload-d1b7124fce6eda5e",
        "overload-25d39ce6217ceb01",
        "overload-0c3d688a87e9c2e5",
        "overload-9dd4a6604b44b71a",
        "overload-70648ac7ffc5b2bc",
        "overload-830c98a1a1f64d43",
        "overload-98d7ab9252d8e3bf",
        "overload-26e40c11f9624ef9",
        "overload-79f4e8692be47c72",
        "overload-507cf17c031a08ec",
        "overload-55735eca4ca62b98",
        "overload-9f9f347aa8c6aa2a",
        "overload-b7ef1431f1d08dd8",
        "overload-3cc44a3f90145a56",
        "overload-fa51d2d454111ff9",
        "overload-3f485d9933fce2a9",
        "overload-b10a4e0b6718b8c7",
        "overload-b7a8a79ae2727861",
        "overload-637bcc529f5cb013",
        "overload-f1b55e7c3498bd7d",
        "overload-4d584d9fe6215db7",
        "overload-a783ee576b9b8a97",
        "overload-891afaf862a2e9c5",
        "overload-1f3020782f51daf6",
        "overload-c75583f5c8cba557",
        "overload-d4f1b46f4ea46138",
        "overload-2dc85eaf5609b2ad",
        "overload-97a53f38a83b57c5",
        "overload-4d67c0fffe3b868d",
        "overload-946697a7688206c9",
        "overload-498fefb5d783bada",
        "overload-75c44bbe9d509feb",
        "overload-90e4a7bd4717c4ef",
        "overload-d0bd0d7b430ea9af",
        "overload-63ea01d45df0f689",
        "overload-e6896786267ce85c",
        "overload-48676f25f002ae5d",
        "overload-48f02740ac424751",
        "overload-82e7aecffc081a70"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-1.3.2/functions/max_by.json"
    }
  ]
}
