-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Arrays cannot be nullable ? #1062
Comments
We decided, that for simplicity reasons we need to support either arrays with nullable values or nullable arrays, but not both. And arrays with nullable values seems more useful. Nullable arrays are less needed, because often empty arrays are enough. This is still subject to change. |
Hmm, and how do you solve the problem of adding later let's say in a table a row which is array and you want to select records from past where this property was not available ? I mean where new field it's NULL not empty array.. Silviu |
Hy @alexey-milovidov do you have an opinion on my previous question ? Silviu |
This will be more difficult. You could add another field as a flag to indicate older data. |
Ok then, if the decision that Nullable array are not supported is final then I don't see any option.. |
After I updated clickhouse to last testing version for the following query:
I get:
So this means we cannot have fields of type array that can accept null value ? This was supported before..
Silviu
The text was updated successfully, but these errors were encountered: