[MCOL-165] CHAR(0)/VARCHAR(0) not supported Created: 2016-06-22  Updated: 2021-05-13  Resolved: 2021-05-13

Status: Closed
Project: MariaDB ColumnStore
Component/s: Documentation
Affects Version/s: None
Fix Version/s: 5.6.1

Type: Task Priority: Minor
Reporter: Justin Swanhart (Inactive) Assignee: Geoff Montee (Inactive)
Resolution: Done Votes: 0
Labels: None

Epic Link: ColumnStore Compatibility Improvements

 Description   

MariaDB supports CHAR(0) / VARCHAR(0) but columnstore does not. This limitation doesn't appear to be documented in the data type section of the KB.



 Comments   
Comment by David Thompson (Inactive) [ 2016-10-07 ]

The KB does now reflect that 0 is not a valid length for char and varchar (minimum of 1).

Until MCOL-271 is fixed this would be of almost no value.

This article explains the reason and potential use cases for a 0 length string:
http://stackoverflow.com/questions/21555485/whats-the-purpose-of-varchar0

Generated at Thu Feb 08 02:19:00 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.