{
  "$schema": "/products/haybarn/functions/api/v1/function.schema.json",
  "schemaVersion": 1,
  "name": "min_by",
  "schema": "main",
  "slug": "min_by",
  "description": "Finds the row with the minimum val. Calculates the non-NULL arg expression at that row.",
  "category": "aggregate",
  "kinds": [
    "aggregate"
  ],
  "aliasOf": [
    "arg_min"
  ],
  "snapshot": {
    "schemaVersion": 1,
    "id": "haybarn-1.5.5-rc3",
    "engine": "haybarn",
    "label": "Haybarn WASM 1.5.5-rc3",
    "engineVersion": "v1.5.6-dev149",
    "sourceId": "105edd31b5",
    "source": "https://www.npmjs.com/package/@haybarn/haybarn-wasm/v/1.5.5-rc3",
    "binarySha256": "426638bc374fcc542fea93b251f885bfb7d221c68fcc0a5a81cc565d7e6ca180",
    "capturedAt": "2026-09-06T00:23:30.515Z",
    "requestedExtensions": [
      "core_functions",
      "icu",
      "json",
      "parquet"
    ],
    "loadedExtensions": [
      {
        "extension_name": "core_functions",
        "extension_version": "105edd31b5",
        "installed_from": ""
      },
      {
        "extension_name": "icu",
        "extension_version": "v1.5.5",
        "installed_from": ""
      },
      {
        "extension_name": "json",
        "extension_version": "v1.5.5",
        "installed_from": ""
      },
      {
        "extension_name": "parquet",
        "extension_version": "v1.5.5",
        "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": "1.5.5-rc3",
      "bundle": "eh"
    }
  },
  "links": {
    "html": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/",
    "markdown": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/index.md",
    "json": "/products/haybarn/functions/api/v1/haybarn-1.5.5-rc3/functions/min_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 1.5.5-rc3, 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-164c2d929cc5f107",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-164c2d929cc5f107",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-5932561055369ab5",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-5932561055369ab5",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-88e21bb128d78eff",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-88e21bb128d78eff",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-0e2d6b0663773dce",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-0e2d6b0663773dce",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-1b33881a7fa8cc0c",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-1b33881a7fa8cc0c",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-a1fe2878dd2acb25",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-a1fe2878dd2acb25",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-eec27e34d90322af",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-eec27e34d90322af",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-ee1b2cdd1787f201",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-ee1b2cdd1787f201",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-4ebd893962a7b6b4",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-4ebd893962a7b6b4",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-89f3bb1ec8765961",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-89f3bb1ec8765961",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-79c69e1d9c7a3393",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-79c69e1d9c7a3393",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-8696ce449769c658",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-8696ce449769c658",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-e34739d6760d6f48",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-e34739d6760d6f48",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-05784358907e9192",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-05784358907e9192",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-ab9b11966c70939f",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-ab9b11966c70939f",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-85a479ca13507a9d",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-85a479ca13507a9d",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-7ca9a8a898409106",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-7ca9a8a898409106",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-23077de7b5b2fa9e",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-23077de7b5b2fa9e",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-a322e423691a913a",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-a322e423691a913a",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-1fd3ee0a1093c5f1",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-1fd3ee0a1093c5f1",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-30afb861fddc9ff0",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-30afb861fddc9ff0",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-76605e83254ed8dd",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-76605e83254ed8dd",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-36767f705baaf546",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-36767f705baaf546",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-e543c1a1421c41f0",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-e543c1a1421c41f0",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-272aef4174735bc7",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-272aef4174735bc7",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-551a14bbb40da962",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-551a14bbb40da962",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-ee943899436dc7ed",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-ee943899436dc7ed",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-af57c8d58c46f689",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-af57c8d58c46f689",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-4bc657e17b9d8ee0",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-4bc657e17b9d8ee0",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-2f3c1071d5bb1faf",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-2f3c1071d5bb1faf",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-29d56294de5512e4",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-29d56294de5512e4",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-207cfb374e9a4291",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-207cfb374e9a4291",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-ffa221e652a33b3c",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-ffa221e652a33b3c",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-d971056e38876f32",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-d971056e38876f32",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-b292c952cc7c585b",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-b292c952cc7c585b",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-1e7e6855141a8c2c",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-1e7e6855141a8c2c",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-41d24a9763d1e7fd",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-41d24a9763d1e7fd",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-b981b61a8a0e1dca",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-b981b61a8a0e1dca",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-7354795b590c2d1a",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-7354795b590c2d1a",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-40937b51e42d8d51",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-40937b51e42d8d51",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-3654374440d295c1",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-3654374440d295c1",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-dced22811df652ab",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-dced22811df652ab",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-e26e43fa96d952ed",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-e26e43fa96d952ed",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-e8aaace2b3f0748e",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-e8aaace2b3f0748e",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-a6da4d9803417a34",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-a6da4d9803417a34",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-ca4e6ebdc82fbfc5",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-ca4e6ebdc82fbfc5",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-c62390fdbc80f2a8",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-c62390fdbc80f2a8",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-b6f7a435db5f3ea7",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-b6f7a435db5f3ea7",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-b4e061b5f2d5a4d3",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-b4e061b5f2d5a4d3",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-ff595fd360fef936",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-ff595fd360fef936",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-0feac50244a0ad89",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-0feac50244a0ad89",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-ecf7e46d2b390851",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-ecf7e46d2b390851",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-848192c33bfbaaf1",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-848192c33bfbaaf1",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-c0c7ef0214991565",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-c0c7ef0214991565",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-97212108e5bfc2f4",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-97212108e5bfc2f4",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-f7b80d9e7f8c8e3b",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-f7b80d9e7f8c8e3b",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-e53c14f125471c87",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-e53c14f125471c87",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-719923bea56a192c",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-719923bea56a192c",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-60e362e591141f4b",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-60e362e591141f4b",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-cc0052488c4fce10",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-cc0052488c4fce10",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-c2b265c5ae3e806f",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-c2b265c5ae3e806f",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-037c81475d5ad6b2",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-037c81475d5ad6b2",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-380ade5f80dd99aa",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-380ade5f80dd99aa",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-ff422b036358239a",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-ff422b036358239a",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-db71d55596250c2e",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-db71d55596250c2e",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-e2074b871232678a",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-e2074b871232678a",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-133243f0ef467afe",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-133243f0ef467afe",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-372a2829aa588d60",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-372a2829aa588d60",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-1bc5401820bbe029",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-1bc5401820bbe029",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-90c04da4a496d1f3",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-90c04da4a496d1f3",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-79303b4f1da6b5f1",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-79303b4f1da6b5f1",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-dc92e70f1f25aa0e",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-dc92e70f1f25aa0e",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-e7902f51f1c54c7f",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-e7902f51f1c54c7f",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-c8d4b75da4defa36",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-c8d4b75da4defa36",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-ed52f2749ecc1e89",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-ed52f2749ecc1e89",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-0a6279472a65b3cf",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-0a6279472a65b3cf",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-936319096cf82125",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-936319096cf82125",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-f499fac1693eaf83",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-f499fac1693eaf83",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-72b1ebfc4c5d8877",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-72b1ebfc4c5d8877",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-ee2dd5172ab8d675",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-ee2dd5172ab8d675",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-9d0ba4ab5617e2ff",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-9d0ba4ab5617e2ff",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-e0c7b8bb9ca1386f",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-e0c7b8bb9ca1386f",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-35730e4ff26bfbc1",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-35730e4ff26bfbc1",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-1219ceaa29db5a11",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-1219ceaa29db5a11",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-07bd3ea532fdb5bc",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-07bd3ea532fdb5bc",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-d932381c350b029e",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-d932381c350b029e",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-c50dec3feb6bc4a5",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-c50dec3feb6bc4a5",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-26d16e6cf9cae109",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-26d16e6cf9cae109",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-8dd7227735e3f86e",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-8dd7227735e3f86e",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-4647e48161052c28",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-4647e48161052c28",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-93d1c2ba90bdac4f",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-93d1c2ba90bdac4f",
      "signature": "min_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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum 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": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    },
    {
      "id": "overload-c1173d5c45cfbeb8",
      "url": "/products/haybarn/functions/releases/haybarn-1.5.5-rc3/min_by/#overload-c1173d5c45cfbeb8",
      "signature": "min_by(arg: ANY, val: ANY, col2: 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": "col2",
            "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": "min_by",
        "function_type": "aggregate",
        "description": "Finds the row with the minimum val. Calculates the non-NULL arg expression at that row.",
        "comment": null,
        "return_type": "ANY[]",
        "parameters": [
          "arg",
          "val",
          "col2"
        ],
        "parameter_types": [
          "ANY",
          "ANY",
          "BIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "min_by(A, B)"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": "arg_min"
      }
    }
  ],
  "editorial": {
    "argumentNotes": [],
    "recipes": []
  },
  "examples": [
    {
      "original": "min_by(A, B)",
      "sql": "SELECT min_by(A, B);",
      "overloadIds": [
        "overload-164c2d929cc5f107",
        "overload-5932561055369ab5",
        "overload-88e21bb128d78eff",
        "overload-0e2d6b0663773dce",
        "overload-1b33881a7fa8cc0c",
        "overload-a1fe2878dd2acb25",
        "overload-eec27e34d90322af",
        "overload-ee1b2cdd1787f201",
        "overload-4ebd893962a7b6b4",
        "overload-89f3bb1ec8765961",
        "overload-79c69e1d9c7a3393",
        "overload-8696ce449769c658",
        "overload-e34739d6760d6f48",
        "overload-05784358907e9192",
        "overload-ab9b11966c70939f",
        "overload-85a479ca13507a9d",
        "overload-7ca9a8a898409106",
        "overload-23077de7b5b2fa9e",
        "overload-a322e423691a913a",
        "overload-1fd3ee0a1093c5f1",
        "overload-30afb861fddc9ff0",
        "overload-76605e83254ed8dd",
        "overload-36767f705baaf546",
        "overload-e543c1a1421c41f0",
        "overload-272aef4174735bc7",
        "overload-551a14bbb40da962",
        "overload-ee943899436dc7ed",
        "overload-af57c8d58c46f689",
        "overload-4bc657e17b9d8ee0",
        "overload-2f3c1071d5bb1faf",
        "overload-29d56294de5512e4",
        "overload-207cfb374e9a4291",
        "overload-ffa221e652a33b3c",
        "overload-d971056e38876f32",
        "overload-b292c952cc7c585b",
        "overload-1e7e6855141a8c2c",
        "overload-41d24a9763d1e7fd",
        "overload-b981b61a8a0e1dca",
        "overload-7354795b590c2d1a",
        "overload-40937b51e42d8d51",
        "overload-3654374440d295c1",
        "overload-dced22811df652ab",
        "overload-e26e43fa96d952ed",
        "overload-e8aaace2b3f0748e",
        "overload-a6da4d9803417a34",
        "overload-ca4e6ebdc82fbfc5",
        "overload-c62390fdbc80f2a8",
        "overload-b6f7a435db5f3ea7",
        "overload-b4e061b5f2d5a4d3",
        "overload-ff595fd360fef936",
        "overload-0feac50244a0ad89",
        "overload-ecf7e46d2b390851",
        "overload-848192c33bfbaaf1",
        "overload-c0c7ef0214991565",
        "overload-97212108e5bfc2f4",
        "overload-f7b80d9e7f8c8e3b",
        "overload-e53c14f125471c87",
        "overload-719923bea56a192c",
        "overload-60e362e591141f4b",
        "overload-cc0052488c4fce10",
        "overload-c2b265c5ae3e806f",
        "overload-037c81475d5ad6b2",
        "overload-380ade5f80dd99aa",
        "overload-ff422b036358239a",
        "overload-db71d55596250c2e",
        "overload-e2074b871232678a",
        "overload-133243f0ef467afe",
        "overload-372a2829aa588d60",
        "overload-1bc5401820bbe029",
        "overload-90c04da4a496d1f3",
        "overload-79303b4f1da6b5f1",
        "overload-dc92e70f1f25aa0e",
        "overload-e7902f51f1c54c7f",
        "overload-c8d4b75da4defa36",
        "overload-ed52f2749ecc1e89",
        "overload-0a6279472a65b3cf",
        "overload-936319096cf82125",
        "overload-f499fac1693eaf83",
        "overload-72b1ebfc4c5d8877",
        "overload-ee2dd5172ab8d675",
        "overload-9d0ba4ab5617e2ff",
        "overload-e0c7b8bb9ca1386f",
        "overload-35730e4ff26bfbc1",
        "overload-1219ceaa29db5a11",
        "overload-07bd3ea532fdb5bc",
        "overload-d932381c350b029e",
        "overload-c50dec3feb6bc4a5",
        "overload-26d16e6cf9cae109",
        "overload-8dd7227735e3f86e",
        "overload-4647e48161052c28",
        "overload-93d1c2ba90bdac4f",
        "overload-c1173d5c45cfbeb8"
      ],
      "source": "engine-catalog",
      "verification": null
    }
  ],
  "translations": [],
  "runnableExamples": [
    {
      "function": "min_by",
      "original": "min_by(A, B)",
      "sql": "SELECT min_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": "1.5.5-rc3",
        "sourceId": "105edd31b5",
        "binarySha256": "426638bc374fcc542fea93b251f885bfb7d221c68fcc0a5a81cc565d7e6ca180",
        "rowCount": 1
      }
    }
  ],
  "additionalDocumentation": [
    {
      "title": "Aggregate Functions",
      "url": "https://duckdb.org/docs/current/sql/functions/aggregates#arg_minarg-val"
    }
  ],
  "availability": [
    {
      "snapshot": "haybarn-1.5.5-rc3",
      "observed": true,
      "overloadCount": 92,
      "matchingOverloadIds": [
        "overload-c1173d5c45cfbeb8",
        "overload-164c2d929cc5f107",
        "overload-5932561055369ab5",
        "overload-88e21bb128d78eff",
        "overload-0e2d6b0663773dce",
        "overload-1b33881a7fa8cc0c",
        "overload-a1fe2878dd2acb25",
        "overload-eec27e34d90322af",
        "overload-4ebd893962a7b6b4",
        "overload-ee1b2cdd1787f201",
        "overload-89f3bb1ec8765961",
        "overload-79c69e1d9c7a3393",
        "overload-8696ce449769c658",
        "overload-e34739d6760d6f48",
        "overload-05784358907e9192",
        "overload-ab9b11966c70939f",
        "overload-85a479ca13507a9d",
        "overload-23077de7b5b2fa9e",
        "overload-7ca9a8a898409106",
        "overload-a322e423691a913a",
        "overload-1fd3ee0a1093c5f1",
        "overload-30afb861fddc9ff0",
        "overload-76605e83254ed8dd",
        "overload-36767f705baaf546",
        "overload-e543c1a1421c41f0",
        "overload-272aef4174735bc7",
        "overload-ee943899436dc7ed",
        "overload-551a14bbb40da962",
        "overload-af57c8d58c46f689",
        "overload-4bc657e17b9d8ee0",
        "overload-2f3c1071d5bb1faf",
        "overload-29d56294de5512e4",
        "overload-207cfb374e9a4291",
        "overload-ffa221e652a33b3c",
        "overload-d971056e38876f32",
        "overload-1e7e6855141a8c2c",
        "overload-b292c952cc7c585b",
        "overload-41d24a9763d1e7fd",
        "overload-b981b61a8a0e1dca",
        "overload-7354795b590c2d1a",
        "overload-40937b51e42d8d51",
        "overload-3654374440d295c1",
        "overload-dced22811df652ab",
        "overload-e26e43fa96d952ed",
        "overload-a6da4d9803417a34",
        "overload-e8aaace2b3f0748e",
        "overload-ca4e6ebdc82fbfc5",
        "overload-c62390fdbc80f2a8",
        "overload-b6f7a435db5f3ea7",
        "overload-b4e061b5f2d5a4d3",
        "overload-ff595fd360fef936",
        "overload-0feac50244a0ad89",
        "overload-ecf7e46d2b390851",
        "overload-c0c7ef0214991565",
        "overload-848192c33bfbaaf1",
        "overload-97212108e5bfc2f4",
        "overload-f7b80d9e7f8c8e3b",
        "overload-e53c14f125471c87",
        "overload-719923bea56a192c",
        "overload-60e362e591141f4b",
        "overload-cc0052488c4fce10",
        "overload-c2b265c5ae3e806f",
        "overload-380ade5f80dd99aa",
        "overload-037c81475d5ad6b2",
        "overload-ff422b036358239a",
        "overload-db71d55596250c2e",
        "overload-e2074b871232678a",
        "overload-133243f0ef467afe",
        "overload-372a2829aa588d60",
        "overload-1bc5401820bbe029",
        "overload-90c04da4a496d1f3",
        "overload-dc92e70f1f25aa0e",
        "overload-79303b4f1da6b5f1",
        "overload-e7902f51f1c54c7f",
        "overload-c8d4b75da4defa36",
        "overload-ed52f2749ecc1e89",
        "overload-0a6279472a65b3cf",
        "overload-936319096cf82125",
        "overload-f499fac1693eaf83",
        "overload-72b1ebfc4c5d8877",
        "overload-9d0ba4ab5617e2ff",
        "overload-ee2dd5172ab8d675",
        "overload-e0c7b8bb9ca1386f",
        "overload-35730e4ff26bfbc1",
        "overload-1219ceaa29db5a11",
        "overload-07bd3ea532fdb5bc",
        "overload-d932381c350b029e",
        "overload-c50dec3feb6bc4a5",
        "overload-26d16e6cf9cae109",
        "overload-4647e48161052c28",
        "overload-8dd7227735e3f86e",
        "overload-93d1c2ba90bdac4f"
      ],
      "json": "/products/haybarn/functions/api/v1/haybarn-1.5.5-rc3/functions/min_by.json"
    },
    {
      "snapshot": "duckdb-1.5.5",
      "observed": true,
      "overloadCount": 92,
      "matchingOverloadIds": [
        "overload-c1173d5c45cfbeb8",
        "overload-164c2d929cc5f107",
        "overload-5932561055369ab5",
        "overload-88e21bb128d78eff",
        "overload-0e2d6b0663773dce",
        "overload-1b33881a7fa8cc0c",
        "overload-a1fe2878dd2acb25",
        "overload-eec27e34d90322af",
        "overload-4ebd893962a7b6b4",
        "overload-ee1b2cdd1787f201",
        "overload-89f3bb1ec8765961",
        "overload-79c69e1d9c7a3393",
        "overload-8696ce449769c658",
        "overload-e34739d6760d6f48",
        "overload-05784358907e9192",
        "overload-ab9b11966c70939f",
        "overload-85a479ca13507a9d",
        "overload-23077de7b5b2fa9e",
        "overload-7ca9a8a898409106",
        "overload-a322e423691a913a",
        "overload-1fd3ee0a1093c5f1",
        "overload-30afb861fddc9ff0",
        "overload-76605e83254ed8dd",
        "overload-36767f705baaf546",
        "overload-e543c1a1421c41f0",
        "overload-272aef4174735bc7",
        "overload-ee943899436dc7ed",
        "overload-551a14bbb40da962",
        "overload-af57c8d58c46f689",
        "overload-4bc657e17b9d8ee0",
        "overload-2f3c1071d5bb1faf",
        "overload-29d56294de5512e4",
        "overload-207cfb374e9a4291",
        "overload-ffa221e652a33b3c",
        "overload-d971056e38876f32",
        "overload-1e7e6855141a8c2c",
        "overload-b292c952cc7c585b",
        "overload-41d24a9763d1e7fd",
        "overload-b981b61a8a0e1dca",
        "overload-7354795b590c2d1a",
        "overload-40937b51e42d8d51",
        "overload-3654374440d295c1",
        "overload-dced22811df652ab",
        "overload-e26e43fa96d952ed",
        "overload-a6da4d9803417a34",
        "overload-e8aaace2b3f0748e",
        "overload-ca4e6ebdc82fbfc5",
        "overload-c62390fdbc80f2a8",
        "overload-b6f7a435db5f3ea7",
        "overload-b4e061b5f2d5a4d3",
        "overload-ff595fd360fef936",
        "overload-0feac50244a0ad89",
        "overload-ecf7e46d2b390851",
        "overload-c0c7ef0214991565",
        "overload-848192c33bfbaaf1",
        "overload-97212108e5bfc2f4",
        "overload-f7b80d9e7f8c8e3b",
        "overload-e53c14f125471c87",
        "overload-719923bea56a192c",
        "overload-60e362e591141f4b",
        "overload-cc0052488c4fce10",
        "overload-c2b265c5ae3e806f",
        "overload-380ade5f80dd99aa",
        "overload-037c81475d5ad6b2",
        "overload-ff422b036358239a",
        "overload-db71d55596250c2e",
        "overload-e2074b871232678a",
        "overload-133243f0ef467afe",
        "overload-372a2829aa588d60",
        "overload-1bc5401820bbe029",
        "overload-90c04da4a496d1f3",
        "overload-dc92e70f1f25aa0e",
        "overload-79303b4f1da6b5f1",
        "overload-e7902f51f1c54c7f",
        "overload-c8d4b75da4defa36",
        "overload-ed52f2749ecc1e89",
        "overload-0a6279472a65b3cf",
        "overload-936319096cf82125",
        "overload-f499fac1693eaf83",
        "overload-72b1ebfc4c5d8877",
        "overload-9d0ba4ab5617e2ff",
        "overload-ee2dd5172ab8d675",
        "overload-e0c7b8bb9ca1386f",
        "overload-35730e4ff26bfbc1",
        "overload-1219ceaa29db5a11",
        "overload-07bd3ea532fdb5bc",
        "overload-d932381c350b029e",
        "overload-c50dec3feb6bc4a5",
        "overload-26d16e6cf9cae109",
        "overload-4647e48161052c28",
        "overload-8dd7227735e3f86e",
        "overload-93d1c2ba90bdac4f"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-1.5.5/functions/min_by.json"
    },
    {
      "snapshot": "duckdb-1.4.4",
      "observed": true,
      "overloadCount": 92,
      "matchingOverloadIds": [
        "overload-c1173d5c45cfbeb8",
        "overload-164c2d929cc5f107",
        "overload-5932561055369ab5",
        "overload-88e21bb128d78eff",
        "overload-0e2d6b0663773dce",
        "overload-1b33881a7fa8cc0c",
        "overload-a1fe2878dd2acb25",
        "overload-eec27e34d90322af",
        "overload-4ebd893962a7b6b4",
        "overload-ee1b2cdd1787f201",
        "overload-89f3bb1ec8765961",
        "overload-79c69e1d9c7a3393",
        "overload-8696ce449769c658",
        "overload-e34739d6760d6f48",
        "overload-05784358907e9192",
        "overload-ab9b11966c70939f",
        "overload-85a479ca13507a9d",
        "overload-23077de7b5b2fa9e",
        "overload-7ca9a8a898409106",
        "overload-a322e423691a913a",
        "overload-1fd3ee0a1093c5f1",
        "overload-30afb861fddc9ff0",
        "overload-76605e83254ed8dd",
        "overload-36767f705baaf546",
        "overload-e543c1a1421c41f0",
        "overload-272aef4174735bc7",
        "overload-ee943899436dc7ed",
        "overload-551a14bbb40da962",
        "overload-af57c8d58c46f689",
        "overload-4bc657e17b9d8ee0",
        "overload-2f3c1071d5bb1faf",
        "overload-29d56294de5512e4",
        "overload-207cfb374e9a4291",
        "overload-ffa221e652a33b3c",
        "overload-d971056e38876f32",
        "overload-1e7e6855141a8c2c",
        "overload-b292c952cc7c585b",
        "overload-41d24a9763d1e7fd",
        "overload-b981b61a8a0e1dca",
        "overload-7354795b590c2d1a",
        "overload-40937b51e42d8d51",
        "overload-3654374440d295c1",
        "overload-dced22811df652ab",
        "overload-e26e43fa96d952ed",
        "overload-a6da4d9803417a34",
        "overload-e8aaace2b3f0748e",
        "overload-ca4e6ebdc82fbfc5",
        "overload-c62390fdbc80f2a8",
        "overload-b6f7a435db5f3ea7",
        "overload-b4e061b5f2d5a4d3",
        "overload-ff595fd360fef936",
        "overload-0feac50244a0ad89",
        "overload-ecf7e46d2b390851",
        "overload-c0c7ef0214991565",
        "overload-848192c33bfbaaf1",
        "overload-97212108e5bfc2f4",
        "overload-f7b80d9e7f8c8e3b",
        "overload-e53c14f125471c87",
        "overload-719923bea56a192c",
        "overload-60e362e591141f4b",
        "overload-cc0052488c4fce10",
        "overload-c2b265c5ae3e806f",
        "overload-380ade5f80dd99aa",
        "overload-037c81475d5ad6b2",
        "overload-ff422b036358239a",
        "overload-db71d55596250c2e",
        "overload-e2074b871232678a",
        "overload-133243f0ef467afe",
        "overload-372a2829aa588d60",
        "overload-1bc5401820bbe029",
        "overload-90c04da4a496d1f3",
        "overload-dc92e70f1f25aa0e",
        "overload-79303b4f1da6b5f1",
        "overload-e7902f51f1c54c7f",
        "overload-c8d4b75da4defa36",
        "overload-ed52f2749ecc1e89",
        "overload-0a6279472a65b3cf",
        "overload-936319096cf82125",
        "overload-f499fac1693eaf83",
        "overload-72b1ebfc4c5d8877",
        "overload-9d0ba4ab5617e2ff",
        "overload-ee2dd5172ab8d675",
        "overload-e0c7b8bb9ca1386f",
        "overload-35730e4ff26bfbc1",
        "overload-1219ceaa29db5a11",
        "overload-07bd3ea532fdb5bc",
        "overload-d932381c350b029e",
        "overload-c50dec3feb6bc4a5",
        "overload-26d16e6cf9cae109",
        "overload-4647e48161052c28",
        "overload-8dd7227735e3f86e",
        "overload-93d1c2ba90bdac4f"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-1.4.4/functions/min_by.json"
    },
    {
      "snapshot": "duckdb-1.3.2",
      "observed": true,
      "overloadCount": 92,
      "matchingOverloadIds": [
        "overload-c1173d5c45cfbeb8",
        "overload-164c2d929cc5f107",
        "overload-5932561055369ab5",
        "overload-88e21bb128d78eff",
        "overload-0e2d6b0663773dce",
        "overload-1b33881a7fa8cc0c",
        "overload-a1fe2878dd2acb25",
        "overload-eec27e34d90322af",
        "overload-4ebd893962a7b6b4",
        "overload-ee1b2cdd1787f201",
        "overload-89f3bb1ec8765961",
        "overload-79c69e1d9c7a3393",
        "overload-8696ce449769c658",
        "overload-e34739d6760d6f48",
        "overload-05784358907e9192",
        "overload-ab9b11966c70939f",
        "overload-85a479ca13507a9d",
        "overload-23077de7b5b2fa9e",
        "overload-7ca9a8a898409106",
        "overload-a322e423691a913a",
        "overload-1fd3ee0a1093c5f1",
        "overload-30afb861fddc9ff0",
        "overload-76605e83254ed8dd",
        "overload-36767f705baaf546",
        "overload-e543c1a1421c41f0",
        "overload-272aef4174735bc7",
        "overload-ee943899436dc7ed",
        "overload-551a14bbb40da962",
        "overload-af57c8d58c46f689",
        "overload-4bc657e17b9d8ee0",
        "overload-2f3c1071d5bb1faf",
        "overload-29d56294de5512e4",
        "overload-207cfb374e9a4291",
        "overload-ffa221e652a33b3c",
        "overload-d971056e38876f32",
        "overload-1e7e6855141a8c2c",
        "overload-b292c952cc7c585b",
        "overload-41d24a9763d1e7fd",
        "overload-b981b61a8a0e1dca",
        "overload-7354795b590c2d1a",
        "overload-40937b51e42d8d51",
        "overload-3654374440d295c1",
        "overload-dced22811df652ab",
        "overload-e26e43fa96d952ed",
        "overload-a6da4d9803417a34",
        "overload-e8aaace2b3f0748e",
        "overload-ca4e6ebdc82fbfc5",
        "overload-c62390fdbc80f2a8",
        "overload-b6f7a435db5f3ea7",
        "overload-b4e061b5f2d5a4d3",
        "overload-ff595fd360fef936",
        "overload-0feac50244a0ad89",
        "overload-ecf7e46d2b390851",
        "overload-c0c7ef0214991565",
        "overload-848192c33bfbaaf1",
        "overload-97212108e5bfc2f4",
        "overload-f7b80d9e7f8c8e3b",
        "overload-e53c14f125471c87",
        "overload-719923bea56a192c",
        "overload-60e362e591141f4b",
        "overload-cc0052488c4fce10",
        "overload-c2b265c5ae3e806f",
        "overload-380ade5f80dd99aa",
        "overload-037c81475d5ad6b2",
        "overload-ff422b036358239a",
        "overload-db71d55596250c2e",
        "overload-e2074b871232678a",
        "overload-133243f0ef467afe",
        "overload-372a2829aa588d60",
        "overload-1bc5401820bbe029",
        "overload-90c04da4a496d1f3",
        "overload-dc92e70f1f25aa0e",
        "overload-79303b4f1da6b5f1",
        "overload-e7902f51f1c54c7f",
        "overload-c8d4b75da4defa36",
        "overload-ed52f2749ecc1e89",
        "overload-0a6279472a65b3cf",
        "overload-936319096cf82125",
        "overload-f499fac1693eaf83",
        "overload-72b1ebfc4c5d8877",
        "overload-9d0ba4ab5617e2ff",
        "overload-ee2dd5172ab8d675",
        "overload-e0c7b8bb9ca1386f",
        "overload-35730e4ff26bfbc1",
        "overload-1219ceaa29db5a11",
        "overload-07bd3ea532fdb5bc",
        "overload-d932381c350b029e",
        "overload-c50dec3feb6bc4a5",
        "overload-26d16e6cf9cae109",
        "overload-4647e48161052c28",
        "overload-8dd7227735e3f86e",
        "overload-93d1c2ba90bdac4f"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-1.3.2/functions/min_by.json"
    }
  ]
}
