Meridianmeridian

Emoji

representation.text.emoji

Single emoji character or emoji sequence.

Domain
representation
Category
text
Casts to
VARCHAR
Scope
Universal

Try it

CLI
$ finetype infer -i "šŸ˜€"
→ representation.text.emoji

DuckDB

Detect
SELECT finetype('šŸ˜€');
-- → 'representation.text.emoji'
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) = 'representation.text.emoji';

JSON Schema

finetype schema representation.text.emoji
{
  "$id": "https://meridian.online/schemas/representation.text.emoji",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Single emoji character or emoji sequence.",
  "examples": [
    "šŸ˜€",
    "šŸŽ‰",
    "ā¤ļø",
    "šŸš€"
  ],
  "pattern": "^[\\p{So}\\p{Sk}\\p{Mn}\\p{Cf}]+$",
  "title": "Emoji",
  "type": "string",
  "x-finetype-broad-type": "VARCHAR",
  "x-finetype-transform": "CAST({col} AS VARCHAR)"
}

Examples

šŸ˜€šŸŽ‰ā¤ļøšŸš€