Skip to content

Feat: allow formatter to use CAST over :: syntax#3173

Merged
georgesittas merged 6 commits into
mainfrom
jo/allow_using_standard_cast_instead_of_dcolon
Sep 25, 2024
Merged

Feat: allow formatter to use CAST over :: syntax#3173
georgesittas merged 6 commits into
mainfrom
jo/allow_using_standard_cast_instead_of_dcolon

Conversation

@georgesittas
Copy link
Copy Markdown
Collaborator

Allows users to change the formatter so that it always produces the CAST(foo AS type) syntax over ::. This may come in handy for users that want to easily copy-paste their model queries without having to switch back the :: manually.

Context: https://tobiko-data.slack.com/archives/C07HJH22U9Z/p1727216482891999

@georgesittas georgesittas requested a review from a team September 24, 2024 23:18
Comment thread docs/reference/cli.md Outdated
@georgesittas georgesittas force-pushed the jo/allow_using_standard_cast_instead_of_dcolon branch from fc805cd to 54b719f Compare September 24, 2024 23:34
@georgesittas georgesittas requested a review from a team September 24, 2024 23:38
Comment thread sqlmesh/core/context.py Outdated
@georgesittas georgesittas requested a review from a team September 25, 2024 16:40
@georgesittas georgesittas merged commit 3b03f51 into main Sep 25, 2024
@georgesittas georgesittas deleted the jo/allow_using_standard_cast_instead_of_dcolon branch September 25, 2024 17:00
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