Git Commit SHA
Full 40-character hexadecimal SHA-1 hash identifying a git commit. Used in version control systems, CI/CD pipelines, and deployment tracking.
Git Commit SHA
technology.development.git_shaFull 40-character hexadecimal SHA-1 hash identifying a git commit. Used in version control systems, CI/CD pipelines, and deployment tracking.
Domain
technology
Category
development
Casts to
VARCHAR
Scope
Universal
Try it
CLI
$ finetype infer -i "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0"
→ technology.development.git_shaDuckDB
Detect
SELECT finetype('a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0');
-- → 'technology.development.git_sha'Cast expression
CAST({col} AS VARCHAR)Safe cast pipeline
-- Normalise and cast in one step
SELECT TRY_CAST(finetype_cast(my_column) AS VARCHAR) AS clean_value
FROM my_table
WHERE finetype(my_column) = 'technology.development.git_sha';JSON Schema
finetype schema technology.development.git_sha
{
"$id": "https://meridian.online/schemas/technology.development.git_sha",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Full 40-character hexadecimal SHA-1 hash identifying a git commit. Used in version control systems, CI/CD pipelines, and deployment tracking.",
"examples": [
"a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0",
"5d41402abc4b2a76b9719d911017c59200000000",
"da39a3ee5e6b4b0d3255bfef95601890afd80709"
],
"pattern": "^[0-9a-f]{40}$",
"title": "Git Commit SHA",
"type": "string",
"x-finetype-broad-type": "VARCHAR",
"x-finetype-transform": "CAST({col} AS VARCHAR)"
}Examples
a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b05d41402abc4b2a76b9719d911017c59200000000da39a3ee5e6b4b0d3255bfef95601890afd80709Aliases
commit_hashgit_hash