LakeQL
  • Overview
Server Setup
  • Create Server
  • Define Config
  • Yoga Configuration
  • createLakeQLApp
Authentication
  • Authorization Model
  • JWT Authentication
  • Permissions
  • Scope Authorization
  • Trino User Impersonation
  • Debugging Identity
Schema Builder
  • Builder Configuration
  • Scalar Types
  • Comparison Types
  • Pagination
  • Input Validation
Customization
  • Custom Queries & Mutations
  • Extending Core
  • CORS Configuration
  • Error Handling
  • API Reference
GitHub
LakeQL
  1. API
  2. Schema Builder
  3. Scalar Types

Scalar Types

The scalar types LakeQL registers on the schema.

The builder registers these scalars in addition to GraphQL's built-ins (Int, Float, String, Boolean, ID):

ScalarPurpose
DateCalendar date, backed by graphql-scalars' DateResolver.
DateTimeTimestamp, backed by graphql-scalars' DateTimeResolver.
FileUpload input scalar — usable only as an input type.

Generated interfaces map column types to these scalars, so the GraphQL types match the underlying table. Date and timestamp columns surface as Date / DateTime. Clients get proper typing instead of raw strings.

File serializes only as input. Using it as an output type throws. It exists for upload arguments, not for returning file contents.

Previous page

Builder Configuration

Next page

Comparison Types