You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ShardingSphere parser engine helps users parse a SQL to get the AST (Abstract Syntax Tree) and visit this tree to get SQLStatement (Java Object). Currently, we are planning to enhance the support for Oracle SQL parsing in ShardingSphere.
This issue is to support more oracle sql parse, as follows:
CREATE OUTLINE salaries FOR CATEGORY special
ONSELECT last_name, salary FROM employees;
CREATE OR REPLACEVIEWpurchaseorder_summary OF XMLType ASSELECT updateXML(OBJECT_VALUE,
'/PurchaseOrder/Actions', NULL,
'/PurchaseOrder/ShippingInstructions', NULL,
'/PurchaseOrder/LineItems', NULL) AS XML
FROM purchaseorder p;
SELECT OBJECT_VALUE FROM purchaseorder_summary
WHERE XMLExists('$p/PurchaseOrder[Reference="DAUSTIN-20021009123335811PDT"]' PASSING OBJECT_VALUE AS"p");
CREATE OR REPLACEVIEWvASSELECTe1.first_name, e1.last_name, j.job_id, sum(e2.salary) total_sal
FROM employees e1, ( SELECT*FROM employees e3) e2, job_history j
WHEREe1.employee_id=e2.manager_idANDe1.employee_id=j.employee_idANDe1.hire_date=j.start_dateANDe1.salary= ( SELECTmax(e2.salary) FROM employees e2
WHEREe2.department_id=e1.department_id )
GROUP BYe1.first_name, e1.last_name, j.job_idORDER BY total_sal;
CREATE OR REPLACEVIEWtravel_viewASSELECT story_name, charfunc(story) short_story,
sys_DburiGen(story_name, story, 'text()') story_link
FROM travel_story;
View created.
SELECT*FROM travel_view;
Background
Hi community,
This issue is for #26878.
ShardingSphere parser engine helps users parse a SQL to get the AST (Abstract Syntax Tree) and visit this tree to get SQLStatement (Java Object). Currently, we are planning to enhance the support for Oracle SQL parsing in ShardingSphere.
More details:
https://shardingsphere.apache.org/document/current/en/reference/sharding/parse/
Task
This issue is to support more oracle sql parse, as follows:
Process
Relevant Skills
g4
fileThe text was updated successfully, but these errors were encountered: