You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "TeslaCN (via GitHub)" <gi...@apache.org> on 2023/07/18 02:02:08 UTC
[GitHub] [shardingsphere] TeslaCN opened a new issue, #27259: %TYPE Attribute is unsupported by Oracle parser
TeslaCN opened a new issue, #27259:
URL: https://github.com/apache/shardingsphere/issues/27259
## Bug Report
### Which version of ShardingSphere did you use?
master - 23677b68599d58824d7cde0a5e6087fa577c3211
### Expected behavior
The following PL/SQL could be parsed.
```sql
CREATE OR REPLACE EDITIONABLE PROCEDURE my_proc AS TYPE my_type is table of my_table.id%TYPE; BEGIN INSERT INTO t VALUES (var1, var2); END;
```
### Actual behavior
```
org.apache.shardingsphere.sql.parser.exception.SQLParsingException: You have an error in your SQL syntax: CREATE OR REPLACE EDITIONABLE PROCEDURE my_proc AS TYPE my_type is table of my_table.id%TYPE; BEGIN INSERT INTO t VALUES (var1, var2); END;, no viable alternative at input 'tableofmy_table.' at line 1, position 84, near [@13,84:84='.',<26>,1:84]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] taojintianxia closed issue #27259: %TYPE Attribute is unsupported by Oracle parser
Posted by "taojintianxia (via GitHub)" <gi...@apache.org>.
taojintianxia closed issue #27259: %TYPE Attribute is unsupported by Oracle parser
URL: https://github.com/apache/shardingsphere/issues/27259
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org