SELECT *,
(
COLUMN_GET(
COLUMN_GET(`dynamic_columns`, 'children' AS char),
'int' AS char
) * 2
) AS customColumn,
COLUMN_JSON(`dynamic_columns`) AS `dynamic_columns`
FROM `product` WHERE `name`='product1'
If the inner column_get is instead
COLUMN_GET(`dynamic_columns`, 'children' AS binary)
then all should be well.
Hence it may be sufficient to get all columns deeper than level 1 AS binary.
are failing because https://jira.mariadb.org/browse/MDEV-9429
In these tests the insert is
and the select is
If the inner column_get is instead
then all should be well.
Hence it may be sufficient to get all columns deeper than level 1
AS binary
.