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
-
Activity
Field | Original Value | New Value |
---|---|---|
Link | This issue relates to TODO-2305 [ TODO-2305 ] |
Link |
This issue relates to |
Link | This issue relates to MENT-659 [ MENT-659 ] |
Fix Version/s | N/A [ 14700 ] | |
Fix Version/s | 10.5 [ 23123 ] | |
Resolution | Fixed [ 1 ] | |
Status | Open [ 1 ] | Closed [ 6 ] |
Workflow | MariaDB v3 [ 107390 ] | MariaDB v4 [ 157637 ] |