Skip to content

Databend will eventually become a weak type like mysql, or a strong type like postgresql #7100

Answered by leiysky
hanyisong asked this question in Q&A
Discussion options

You must be logged in to vote

In short, Databend SQL is strong typing.

We are working on a brand new expression system, which involves a formal type system. It will enforce the user to use an explicit type cast for incompatible data types(e.g. from string to integer), and can implicitly cast between compatible types(e.g. int32 and int64).

You can get more details from:

  • Tracking issue of migrating to the new expression: #6547
  • RFC of the type system: #5438

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Xuanwo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants