Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
N/A
-
None
Description
bb-10.5-hf 6dfb3fab2 |
MariaDB [test]> create view v as select * from json_table('{"a":"b"}',"$" columns(a varchar(8) path '$.a')) x; |
ERROR 1352 (HY000): View's SELECT refers to a temporary table 'x' |
It works in MySQL:
MySQL 8.0.19 |
MySQL [test]> create view v as select * from json_table('{"a":"b"}',"$" columns(a varchar(8) path '$.a')) x; |
Query OK, 0 rows affected (0.098 sec) |
 |
MySQL [test]> select * from v; |
+------+ |
| a |
|
+------+ |
| b |
|
+------+ |
1 row in set (0.005 sec) |
Attachments
Issue Links
- relates to
-
MDEV-17399 Add support for JSON_TABLE
- Closed