Skip to content

Rationale for MAX_TABLE_COMMENT_LENGTH=1024 for BigQuery (official quota 16,384) #5581

Open

Description

@mustafaburny

Hi team,

While reviewing the codebase, I noticed that for the BigQuery engine adapter, the MAX_TABLE_COMMENT_LENGTH is set to 1024 characters:

MAX_TABLE_COMMENT_LENGTH = 1024

However, according to the official BigQuery documentation, the supported maximum table description/comment length is 16,384 characters.

Is there a specific rationale for restricting this limit to 1024 in SQLMesh? If not, would you consider increasing it to match the official quota so that longer table descriptions can be supported when deploying models?

Thanks!

Activity

  1. yuki-kakegawa commented on Jun 7, 2026

    @yuki-kakegawa
    Collaborator

    @mustafaburny Perhaps we should add an extra argument in config.yaml or something. But default stays as MAX_TABLE_COMMENT_LENGTH = 1024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions