I don't think AS BLOB ever worked. Data types allowed in COLUMN_GET are explicitly listed in documentation, it's unlikely they had ever been wider.
However, I will assign it to sanja, who is an expert in dynamic columns, to confirm.
I can guess that serg in MDEV-7606 just gave an example of what should be simplified, without paying attention to specific data types; can't say anything about the answer in the stackoverflow article, maybe the person just pasted a wrong query (as they say, there had been a lot of trial/fails).
Using nested columns is of course still possible, as documented on the same KB page, but you need to use CHAR, not BLOB.
MariaDB [test]> create table t1 (dcol blob);
|
Query OK, 0 rows affected (0.06 sec)
|
|
MariaDB [test]> insert into t1 values ( column_create( 'level1', column_create('value', 1) ) );
|
Query OK, 1 row affected (0.05 sec)
|
|
MariaDB [test]> SELECT COLUMN_GET(COLUMN_GET(dcol, 'level1' as CHAR), 'value' as INT) FROM t1;
|
+----------------------------------------------------------------+
|
| COLUMN_GET(COLUMN_GET(dcol, 'level1' as CHAR), 'value' as INT) |
|
+----------------------------------------------------------------+
|
| 1 |
|
+----------------------------------------------------------------+
|
1 row in set (0.00 sec)
|
wzrdtales,
What do you mean by "anymore" and "now"? In which version did you see it work?