{
  "$schema": "/products/haybarn/functions/api/v1/function.schema.json",
  "schemaVersion": 1,
  "name": "<<",
  "schema": "main",
  "slug": "operator-3c3c",
  "description": "Bitwise shift left",
  "category": "operators",
  "kinds": [
    "scalar"
  ],
  "aliasOf": [],
  "snapshot": {
    "schemaVersion": 1,
    "id": "duckdb-1.5.5",
    "engine": "duckdb",
    "label": "DuckDB 1.5.5",
    "engineVersion": "v1.5.5",
    "sourceId": "d8cdaa33fd",
    "source": "https://github.com/duckdb/duckdb/releases/tag/v1.5.5",
    "binarySha256": "8463eb26527b278109cfddffc4606e1019ebefcfe2eac75efc53c76ed8f282d5",
    "capturedAt": "2026-09-05T18:37:40.699Z",
    "requestedExtensions": [
      "core_functions",
      "icu",
      "json",
      "parquet"
    ],
    "loadedExtensions": [
      {
        "extension_name": "autocomplete",
        "extension_version": "v1.5.5",
        "installed_from": ""
      },
      {
        "extension_name": "core_functions",
        "extension_version": "v1.5.5",
        "installed_from": "core"
      },
      {
        "extension_name": "icu",
        "extension_version": "v1.5.5",
        "installed_from": "core"
      },
      {
        "extension_name": "json",
        "extension_version": "v1.5.5",
        "installed_from": "core"
      },
      {
        "extension_name": "parquet",
        "extension_version": "v1.5.5",
        "installed_from": "core"
      },
      {
        "extension_name": "shell",
        "extension_version": "v1.5.5",
        "installed_from": ""
      }
    ],
    "scope": "Built-in functions in the main schema, with the requested extensions loaded. Catalog visibility is not a guarantee of browser support."
  },
  "links": {
    "html": "/products/haybarn/functions/releases/duckdb-1.5.5/operator-3c3c/",
    "markdown": "/products/haybarn/functions/releases/duckdb-1.5.5/operator-3c3c/index.md",
    "json": "/products/haybarn/functions/api/v1/duckdb-1.5.5/functions/operator-3c3c.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-32a8416ce08808fe",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.5/operator-3c3c/#overload-32a8416ce08808fe",
      "signature": "input: BIGINT << right: BIGINT → BIGINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "input",
            "type": "BIGINT",
            "mode": null,
            "position": null
          },
          {
            "name": "col1",
            "type": "BIGINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "operator",
        "operator": {
          "symbol": "<<",
          "form": "infix",
          "operands": [
            "input",
            "right"
          ],
          "expression": "input << right"
        }
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "<<",
        "function_type": "scalar",
        "description": "Bitwise shift left",
        "comment": null,
        "return_type": "BIGINT",
        "parameters": [
          "input",
          "col1"
        ],
        "parameter_types": [
          "BIGINT",
          "BIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "1 << 4"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-8a6f75d3d2502766",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.5/operator-3c3c/#overload-8a6f75d3d2502766",
      "signature": "input: BIT << right: INTEGER → BIT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "input",
            "type": "BIT",
            "mode": null,
            "position": null
          },
          {
            "name": "col1",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "operator",
        "operator": {
          "symbol": "<<",
          "form": "infix",
          "operands": [
            "input",
            "right"
          ],
          "expression": "input << right"
        }
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "<<",
        "function_type": "scalar",
        "description": "Bitwise shift left",
        "comment": null,
        "return_type": "BIT",
        "parameters": [
          "input",
          "col1"
        ],
        "parameter_types": [
          "BIT",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "1 << 4"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-ca026f327b604856",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.5/operator-3c3c/#overload-ca026f327b604856",
      "signature": "input: HUGEINT << right: HUGEINT → HUGEINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "input",
            "type": "HUGEINT",
            "mode": null,
            "position": null
          },
          {
            "name": "col1",
            "type": "HUGEINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "operator",
        "operator": {
          "symbol": "<<",
          "form": "infix",
          "operands": [
            "input",
            "right"
          ],
          "expression": "input << right"
        }
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "<<",
        "function_type": "scalar",
        "description": "Bitwise shift left",
        "comment": null,
        "return_type": "HUGEINT",
        "parameters": [
          "input",
          "col1"
        ],
        "parameter_types": [
          "HUGEINT",
          "HUGEINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "1 << 4"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-95d6c8257f2eaa8b",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.5/operator-3c3c/#overload-95d6c8257f2eaa8b",
      "signature": "input: INTEGER << right: INTEGER → INTEGER",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "input",
            "type": "INTEGER",
            "mode": null,
            "position": null
          },
          {
            "name": "col1",
            "type": "INTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "operator",
        "operator": {
          "symbol": "<<",
          "form": "infix",
          "operands": [
            "input",
            "right"
          ],
          "expression": "input << right"
        }
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "<<",
        "function_type": "scalar",
        "description": "Bitwise shift left",
        "comment": null,
        "return_type": "INTEGER",
        "parameters": [
          "input",
          "col1"
        ],
        "parameter_types": [
          "INTEGER",
          "INTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "1 << 4"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-3eafc025c7c4d758",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.5/operator-3c3c/#overload-3eafc025c7c4d758",
      "signature": "input: SMALLINT << right: SMALLINT → SMALLINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "input",
            "type": "SMALLINT",
            "mode": null,
            "position": null
          },
          {
            "name": "col1",
            "type": "SMALLINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "operator",
        "operator": {
          "symbol": "<<",
          "form": "infix",
          "operands": [
            "input",
            "right"
          ],
          "expression": "input << right"
        }
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "<<",
        "function_type": "scalar",
        "description": "Bitwise shift left",
        "comment": null,
        "return_type": "SMALLINT",
        "parameters": [
          "input",
          "col1"
        ],
        "parameter_types": [
          "SMALLINT",
          "SMALLINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "1 << 4"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-bcb90a48e9116717",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.5/operator-3c3c/#overload-bcb90a48e9116717",
      "signature": "input: TINYINT << right: TINYINT → TINYINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "input",
            "type": "TINYINT",
            "mode": null,
            "position": null
          },
          {
            "name": "col1",
            "type": "TINYINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "operator",
        "operator": {
          "symbol": "<<",
          "form": "infix",
          "operands": [
            "input",
            "right"
          ],
          "expression": "input << right"
        }
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "<<",
        "function_type": "scalar",
        "description": "Bitwise shift left",
        "comment": null,
        "return_type": "TINYINT",
        "parameters": [
          "input",
          "col1"
        ],
        "parameter_types": [
          "TINYINT",
          "TINYINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "1 << 4"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-1ab1666ff1ac27de",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.5/operator-3c3c/#overload-1ab1666ff1ac27de",
      "signature": "input: UBIGINT << right: UBIGINT → UBIGINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "input",
            "type": "UBIGINT",
            "mode": null,
            "position": null
          },
          {
            "name": "col1",
            "type": "UBIGINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "operator",
        "operator": {
          "symbol": "<<",
          "form": "infix",
          "operands": [
            "input",
            "right"
          ],
          "expression": "input << right"
        }
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "<<",
        "function_type": "scalar",
        "description": "Bitwise shift left",
        "comment": null,
        "return_type": "UBIGINT",
        "parameters": [
          "input",
          "col1"
        ],
        "parameter_types": [
          "UBIGINT",
          "UBIGINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "1 << 4"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-a7510765cc70cef9",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.5/operator-3c3c/#overload-a7510765cc70cef9",
      "signature": "input: UHUGEINT << right: UHUGEINT → UHUGEINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "input",
            "type": "UHUGEINT",
            "mode": null,
            "position": null
          },
          {
            "name": "col1",
            "type": "UHUGEINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "operator",
        "operator": {
          "symbol": "<<",
          "form": "infix",
          "operands": [
            "input",
            "right"
          ],
          "expression": "input << right"
        }
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "<<",
        "function_type": "scalar",
        "description": "Bitwise shift left",
        "comment": null,
        "return_type": "UHUGEINT",
        "parameters": [
          "input",
          "col1"
        ],
        "parameter_types": [
          "UHUGEINT",
          "UHUGEINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "1 << 4"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-e11c070c8581705a",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.5/operator-3c3c/#overload-e11c070c8581705a",
      "signature": "input: UINTEGER << right: UINTEGER → UINTEGER",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "input",
            "type": "UINTEGER",
            "mode": null,
            "position": null
          },
          {
            "name": "col1",
            "type": "UINTEGER",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "operator",
        "operator": {
          "symbol": "<<",
          "form": "infix",
          "operands": [
            "input",
            "right"
          ],
          "expression": "input << right"
        }
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "<<",
        "function_type": "scalar",
        "description": "Bitwise shift left",
        "comment": null,
        "return_type": "UINTEGER",
        "parameters": [
          "input",
          "col1"
        ],
        "parameter_types": [
          "UINTEGER",
          "UINTEGER"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "1 << 4"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-d1642f5d1883bf39",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.5/operator-3c3c/#overload-d1642f5d1883bf39",
      "signature": "input: USMALLINT << right: USMALLINT → USMALLINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "input",
            "type": "USMALLINT",
            "mode": null,
            "position": null
          },
          {
            "name": "col1",
            "type": "USMALLINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "operator",
        "operator": {
          "symbol": "<<",
          "form": "infix",
          "operands": [
            "input",
            "right"
          ],
          "expression": "input << right"
        }
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "<<",
        "function_type": "scalar",
        "description": "Bitwise shift left",
        "comment": null,
        "return_type": "USMALLINT",
        "parameters": [
          "input",
          "col1"
        ],
        "parameter_types": [
          "USMALLINT",
          "USMALLINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "1 << 4"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    },
    {
      "id": "overload-ce02485cb17a56e8",
      "url": "/products/haybarn/functions/releases/duckdb-1.5.5/operator-3c3c/#overload-ce02485cb17a56e8",
      "signature": "input: UTINYINT << right: UTINYINT → UTINYINT",
      "parameterOrder": "catalog-order",
      "callingConvention": {
        "source": null,
        "parameters": [
          {
            "name": "input",
            "type": "UTINYINT",
            "mode": null,
            "position": null
          },
          {
            "name": "col1",
            "type": "UTINYINT",
            "mode": null,
            "position": null
          }
        ],
        "positional": null,
        "named": null,
        "variadic": null,
        "evidence": null
      },
      "syntax": {
        "kind": "operator",
        "operator": {
          "symbol": "<<",
          "form": "infix",
          "operands": [
            "input",
            "right"
          ],
          "expression": "input << right"
        }
      },
      "catalog": {
        "schema_name": "main",
        "function_name": "<<",
        "function_type": "scalar",
        "description": "Bitwise shift left",
        "comment": null,
        "return_type": "UTINYINT",
        "parameters": [
          "input",
          "col1"
        ],
        "parameter_types": [
          "UTINYINT",
          "UTINYINT"
        ],
        "varargs": null,
        "macro_definition": null,
        "has_side_effects": false,
        "internal": true,
        "examples": [
          "1 << 4"
        ],
        "stability": "CONSISTENT",
        "categories": [],
        "alias_of": null
      }
    }
  ],
  "editorial": {
    "argumentNotes": [],
    "recipes": []
  },
  "examples": [
    {
      "original": "1 << 4",
      "sql": "SELECT 1 << 4;",
      "overloadIds": [
        "overload-32a8416ce08808fe",
        "overload-8a6f75d3d2502766",
        "overload-ca026f327b604856",
        "overload-95d6c8257f2eaa8b",
        "overload-3eafc025c7c4d758",
        "overload-bcb90a48e9116717",
        "overload-1ab1666ff1ac27de",
        "overload-a7510765cc70cef9",
        "overload-e11c070c8581705a",
        "overload-d1642f5d1883bf39",
        "overload-ce02485cb17a56e8"
      ],
      "source": "engine-catalog",
      "verification": null
    }
  ],
  "translations": [],
  "runnableExamples": [
    {
      "function": "<<",
      "original": "1 << 4",
      "sql": "SELECT 1 << 4;",
      "source": "engine-catalog",
      "verification": {
        "engine": "haybarn-wasm",
        "packageVersion": "1.5.5-rc3",
        "sourceId": "105edd31b5",
        "binarySha256": "426638bc374fcc542fea93b251f885bfb7d221c68fcc0a5a81cc565d7e6ca180",
        "rowCount": 1
      }
    }
  ],
  "additionalDocumentation": [
    {
      "title": "Functions",
      "url": "https://duckdb.org/docs/current/sql/functions/overview"
    }
  ],
  "availability": [
    {
      "snapshot": "haybarn-1.5.5-rc3",
      "observed": true,
      "overloadCount": 11,
      "matchingOverloadIds": [
        "overload-32a8416ce08808fe",
        "overload-8a6f75d3d2502766",
        "overload-ca026f327b604856",
        "overload-95d6c8257f2eaa8b",
        "overload-3eafc025c7c4d758",
        "overload-bcb90a48e9116717",
        "overload-1ab1666ff1ac27de",
        "overload-a7510765cc70cef9",
        "overload-e11c070c8581705a",
        "overload-d1642f5d1883bf39",
        "overload-ce02485cb17a56e8"
      ],
      "json": "/products/haybarn/functions/api/v1/haybarn-1.5.5-rc3/functions/operator-3c3c.json"
    },
    {
      "snapshot": "duckdb-1.5.5",
      "observed": true,
      "overloadCount": 11,
      "matchingOverloadIds": [
        "overload-32a8416ce08808fe",
        "overload-8a6f75d3d2502766",
        "overload-ca026f327b604856",
        "overload-95d6c8257f2eaa8b",
        "overload-3eafc025c7c4d758",
        "overload-bcb90a48e9116717",
        "overload-1ab1666ff1ac27de",
        "overload-a7510765cc70cef9",
        "overload-e11c070c8581705a",
        "overload-d1642f5d1883bf39",
        "overload-ce02485cb17a56e8"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-1.5.5/functions/operator-3c3c.json"
    },
    {
      "snapshot": "duckdb-1.4.4",
      "observed": true,
      "overloadCount": 11,
      "matchingOverloadIds": [
        "overload-32a8416ce08808fe",
        "overload-8a6f75d3d2502766",
        "overload-ca026f327b604856",
        "overload-95d6c8257f2eaa8b",
        "overload-3eafc025c7c4d758",
        "overload-bcb90a48e9116717",
        "overload-1ab1666ff1ac27de",
        "overload-a7510765cc70cef9",
        "overload-e11c070c8581705a",
        "overload-d1642f5d1883bf39",
        "overload-ce02485cb17a56e8"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-1.4.4/functions/operator-3c3c.json"
    },
    {
      "snapshot": "duckdb-1.3.2",
      "observed": true,
      "overloadCount": 11,
      "matchingOverloadIds": [
        "overload-32a8416ce08808fe",
        "overload-8a6f75d3d2502766",
        "overload-ca026f327b604856",
        "overload-95d6c8257f2eaa8b",
        "overload-3eafc025c7c4d758",
        "overload-bcb90a48e9116717",
        "overload-1ab1666ff1ac27de",
        "overload-a7510765cc70cef9",
        "overload-e11c070c8581705a",
        "overload-d1642f5d1883bf39",
        "overload-ce02485cb17a56e8"
      ],
      "json": "/products/haybarn/functions/api/v1/duckdb-1.3.2/functions/operator-3c3c.json"
    }
  ]
}
