alibaba / alibaba/druid

不支持Oracle json_table函数

Open
#4,580 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
28.2k
Forks
8.6k
PR merge metrics
No merged PRs in 30d

Description

报错语句如下
select * from
json_table ('[{"regionId":"001","regionName":"华南"}]',
'$[*]'
columns (region_id varchar2(50 char) path '$.regionId',
region_name varchar2(50 char) path '$.regionName')) regions;

druid版本1.2.0
oracle版本 12c

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported json_table statement with Druid 1.2.0 and Oracle 12c, then trace how this SQL is parsed or rejected. Confirm the expected behavior against Oracle and identify the relevant parser entry point and regression-test location. Done means the statement is accepted and produces the expected rows without breaking existing SQL handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.