Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.36.0
Description
In ClickHouse, there is an issue with RelDataType of Nullable type when casting to a non-Nullable type. For example, SELECT CAST(NULL, 'Int32') will throw an error. In such cases, we should use SELECT CAST(NULL, 'Nullable(Int32)') instead.
related error messages.
DB::Exception: Cannot convert NULL value to non-Nullable type
Attachments
Issue Links
- links to