Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truncate table name to 32 characters #4580

Merged
merged 3 commits into from
Apr 5, 2024
Merged

Conversation

flvndvd
Copy link
Contributor

@flvndvd flvndvd commented Apr 4, 2024

Description

This PR truncates table names to a maximum of 32 characters, as we've encountered instances where the name of some Google Spreadsheets exceeded 8k+ characters. Although the Dust app relies on the table name, all application-side uses the tableId. I've run some queries on our database and found that no Dust apps are currently using database blocks with table names longer than 32 characters. Therefore, it should be safe to deploy this change.

Risk

Deploy Plan

@flvndvd flvndvd marked this pull request as ready for review April 4, 2024 17:24
Copy link
Contributor

@spolu spolu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is agressive but worth trying 👍

@flvndvd flvndvd merged commit 78fbd04 into main Apr 5, 2024
5 checks passed
@flvndvd flvndvd deleted the flav/truncate-table-name-to-32 branch April 5, 2024 09:32
flvndvd added a commit that referenced this pull request May 26, 2024
* Truncate table name to 32 characters

* Use 64

* Revert "Use 64"

This reverts commit e8f505f.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants