maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #02230
Restated: JSON cannot represent binary data
-
To:
maria-discuss email list <maria-discuss@xxxxxxxxxxxxxxxxxxx>
-
From:
Tom Worster <fsb@xxxxxxxxxx>
-
Date:
Sat, 31 Jan 2015 17:08:23 -0500
-
Thread-topic:
Restated: JSON cannot represent binary data
-
User-agent:
Microsoft-MacOutlook/14.4.7.141117
I think we're getting lost in the detail. Beyond dispute are two facts:
1. BINARY is a valid datatype in dynamic columns.
2. JSON cannot represent binary data.
It follows that:
COLUMN_JSON() cannot (correctly) represent all dynamic column values.
So I ask the question is:
What *should* COLUMN_JSON() do when a dynamic column contains BINARY
values?
When I file a bug report, I like to give an expected result. I don't know
what it is in this case. Every other decent JSON encoder errors on such
input. Is that what Maria should do?
Follow ups