Skip to content

Support field datatype rather than is_time #84

@khush-bhatia

Description

@khush-bhatia

Discussed in #25

Originally posted by jonmmease January 16, 2026
I'd suggest that a logical datatype field be used in place of the proposed is_time field. For consumers of semantic models, the data type can be important when building logic on top of dimensions. A motivating example is a BI tool that supports its own expression language on top of dimensions to compute local derived fields or local measures for visualization. Having correct type information can be critical for working with dimensions properly.

I would suggest enumeration values of:

  • number
  • string
  • boolean
  • time
  • timestamp
  • timestamptz
  • opaque/other (for anything else)

For reference: LookML, Cube, and Hex require this information in their specs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions