GithubHelp home page GithubHelp logo

red-soft-ru / shardingsphere Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/shardingsphere

0.0 0.0 1.0 619.81 MB

Distributed SQL transaction & query engine for data sharding, scaling, encryption, and more - on any database.

License: Apache License 2.0

Shell 0.06% Java 95.02% ANTLR 4.35% Batchfile 0.01% FreeMarker 0.50% Dockerfile 0.05%

shardingsphere's People

Contributors

azexcy avatar beckhampu avatar cherrylzhao avatar codefairy08 avatar flyingzc avatar haocao avatar jingshanglu avatar kimmking avatar komachision avatar lanchengx avatar maxiaoguang64 avatar menghaoranss avatar mike0601 avatar pace2car avatar qianyi951015 avatar raigorjiang avatar saaavsaaa avatar sandynz avatar soulasuna avatar strongduanmu avatar taojintianxia avatar terrymanu avatar teslacn avatar totalo avatar tristazero avatar tuichenchuxin avatar tuohai666 avatar yu199195 avatar yx9o avatar zhaojinchao95 avatar

Watchers

 avatar

Forkers

makssent

shardingsphere's Issues

Add E061 Basic predicates and search conditions support


class org.apache.shardingsphere.sql.parser.sql.dialect.statement.firebird.dml.FirebirdSelectStatement cannot be cast to class org.apache.shardingsphere.sql.parser.sql.common.segment.dml.expr.ExpressionSegment (org.apache.shardingsphere.sql.parser.sql.dialect.statement.firebird.dml.FirebirdSelectStatement and org.apache.shardingsphere.sql.parser.sql.common.segment.dml.expr.ExpressionSegment are in unnamed module of loader 'app')

Add F031 Basic schema manipulation support


You have an error in your SQL syntax: COMMENT ON TABLE F31_01 IS 'F31-01 CREATE TABLE statement' no viable alternative at input 'COMMENT' at line 1 position 1 near @01:7='COMMENT'<340>1:1

class org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SimpleTableSegment cannot be cast to class org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement (org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SimpleTableSegment and org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement are in unnamed module of loader 'app')

You have an error in your SQL syntax: GRANT SELECT DELETE ON F31_01 TO E081_09 WITH GRANT OPTION no viable alternative at input '' at line 1 position 13 near @213:13=''<35>1:13

Add F261 CASE expression support


You have an error in your SQL syntax: SELECT NULLIF(11) A NULLIF(12) B NULLIF(NULL NULL) C NULLIF(1 NULL) D NULLIF(NULL 1) E FROM F261_01 no viable alternative at input 'NULLIF' at line 1 position 8 near @18:13='NULLIF'<292>1:8

You have an error in your SQL syntax: SELECT f.sales_num COALESCE(f.sales_num'не задан') FROM f261_01 f no viable alternative at input 'COALESCE' at line 1 position 21 near @521:28='COALESCE'<236>1:21

Add E021 Character string types support

You have an error in your SQL syntax: Create table E021_023 (CVAR CHAR VARYING(20)Primary key(CVAR)) null

You have an error in your SQL syntax: SELECT CHARACTER_LENGTH(CHARVD) from E021_022 no viable alternative at input 'CHARACTER_LENGTH' at line 1 position 8 near @18:23='CHARACTER_LENGTH'<234>1:8

You have an error in your SQL syntax: SELECT OCTET_LENGTH(CHARVD) from E021_022 no viable alternative at input 'OCTET_LENGTH' at line 1 position 8 near @18:19='OCTET_LENGTH'<294>1:8

You have an error in your SQL syntax: SELECT CHARACTERDUPPER(CHARACTERD) as UpSymbol LOWER(CHARACTERD) as LowSymbol from E021_012 no viable alternative at input 'UPPER' at line 1 position 19 near @319:23='UPPER'<331>1:19

You have an error in your SQL syntax: SELECT TRIM ('.! ' from TRTEST) as ResTrimTest from E021_09 no viable alternative at input 'TRIM('.! '' at line 1 position 14 near @314:19=''.! ''<341>1:14

Add T141 SIMILAR predicate support


You have an error in your SQL syntax: CREATE TABLE T141 (ROW_NUM NUMERIC(3) NOT NULL ROW_NAME VARCHAR(25) NOT NULL ROW_PHONE VARCHAR(14) CHECK (ROW_PHONE SIMILAR TO '(0-9{3}) 0-9{3}-0-9{4}' escape '')) no viable alternative at input '(ROW_PHONESIMILAR' at line 1 position 119 near @28119:125='SIMILAR'<340>1:119

Add F034 Extended REVOKE statement support


You have an error in your SQL syntax: REVOKE SELECT ON F31_01 FROM E081_09 no viable alternative at input 'ON' at line 1 position 15 near @215:16='ON'<91>1:15

You have an error in your SQL syntax: GRANT SELECT DELETE UPDATE ON F31_01 TO E081_09 WITH GRANT OPTION no viable alternative at input '' at line 1 position 13 near @213:13=''<35>1:13

F271 Compound character literals

You have an error in your SQL syntax: SELECT 'Составной' || ' строковый' || ' литерал' FROM F262 no viable alternative at input '||' at line 1 position 20 near @220:21='||'<3>1:20

Add F312 MERGE statement support


You have an error in your SQL syntax: MERGE INTO agents a USING (SELECT * FROM agents WHERE commission > 0.15) cd ON (a.agent_code = cd.agent_code) WHEN MATCHED THEN UPDATE SET agent_code = cd.agent_code WHEN NOT MATCHED THEN INSERT (agent_code) VALUES (cd.agent_code) no viable alternative at input 'MERGE' at line 1 position 1 near @01:5='MERGE'<340>1:1

Add F251 Domain support


You have an error in your SQL syntax: CREATE DOMAIN PONUMBER AS CHAR(8) CHARACTER SET NONE CHECK (VALUE STARTING WITH 'V') COLLATE NONE no viable alternative at input 'CREATEDOMAIN' at line 1 position 8 near @18:13='DOMAIN'<257>1:8

T122 WITH (excluding RECURSIVE) in subquery

You have an error in your SQL syntax: SELECT C.CUST_NAME C.CUST_CITY FROM CUSTOMER c WHERE c.agent_code in (WITH T121 AS (SELECT AGENT_CODE FROM AGENTS) SELECT C.CUST_NAME FROM CUSTOMER c LEFT JOIN T121 T ON T.AGENT_CODE = C.AGENT_CODE) no viable alternative at input 'in' at line 1 position 68 near @1568:69='in'<106>1:68

Add F690 Collation support


You have an error in your SQL syntax: CREATE COLLATION lat_uni FOR iso8859_1 FROM external ('ISO8859_1_UNICODE') no viable alternative at input 'CREATECOLLATION' at line 1 position 8 near @18:16='COLLATION'<164>1:8

Add F201 CAST function support


You have an error in your SQL syntax: INSERT INTO F201 VALUES ('1' CAST('3214' as NUMERIC)CAST(CURRENT_DATE as CHAR(20))CAST(429422 as CHARACTER VARYING(20))CAST ('10.05.20' as DATE)) no viable alternative at input 'CAST(CURRENT_DATE' at line 1 position 60 near @1660:71='CURRENT_DATE'<244>1:60

Add E081 Basic Privileges support


You have an error in your SQL syntax: CREATE USER E081_01 PASSWORD '12345678' no viable alternative at input 'CREATEUSER' at line 1 position 8 near @18:11='USER'<333>1:8

You have an error in your SQL syntax: CREATE ROLE E081_09 no viable alternative at input 'CREATEROLE' at line 1 position 8 near @18:11='ROLE'<340>1:8

Add T152 DISTINCT predicate with negation support


You have an error in your SQL syntax: EXECUTE block RETURNS (s VARCHAR(100)) AS BEGIN IF (NULL IS NOT DISTINCT FROM NULL) THEN BEGIN s = 'null is not distinct from null'; suspend; END END; no viable alternative at input 'EXECUTE' at line 1 position 1 near @01:7='EXECUTE'<264>1:1

Add F051 Basic date and time support


You have an error in your SQL syntax: INSERT INTO F51_01 VALUES ('0' '06.09.22'CURRENT_DATE'09.12.99') no viable alternative at input 'CURRENT_DATE' at line 1 position 44 near @944:55='CURRENT_DATE'<244>1:44

You have an error in your SQL syntax: INSERT INTO F51_02 VALUES ('0' CURRENT_TIME'23:11:00.00''14:32:00.00') no viable alternative at input 'CURRENT_TIME' at line 1 position 33 near @733:44='CURRENT_TIME'<245>1:33

You have an error in your SQL syntax: INSERT INTO F51_03 VALUES ('0' CURRENT_TIMESTAMP'12.12.12 00:15:01.03''14.03.17 19:15:01.00') no viable alternative at input 'CURRENT_TIMESTAMP' at line 1 position 50 near @850:50=''<35>1:50

You have an error in your SQL syntax: INSERT INTO F51_07 VALUES ('0' LOCALTIME) no viable alternative at input 'LOCALTIME)' at line 1 position 42 near @842:42=')'<30>1:42

You have an error in your SQL syntax: INSERT INTO F51_08 VALUES ('0' LOCALTIMESTAMP) no viable alternative at input 'LOCALTIMESTAMP)' at line 1 position 47 near @847:47=')'<30>1:47You have an error in your SQL syntax: INSERT INTO F51_08 VALUES ('0' LOCALTIMESTAMP) no viable alternative at input 'LOCALTIMESTAMP)' at line 1 position 47 near @847:47=')'<30>1:47

T175 Generated columns

You have an error in your SQL syntax: CREATE TABLE T175 (row_a int row_b generated always as (3*row_a)) null

Add T121 WITH (excluding RECURSIVE) in query expression support


You have an error in your SQL syntax: WITH T121 AS (SELECT AGENT_CODE AGENT_NAME COMMISSION FROM AGENTS) SELECT C.CUST_NAME C.CUST_CITYT.COMMISSION FROM CUSTOMER c LEFT JOIN T121 T ON T.AGENT_CODE = C.AGENT_CODE no viable alternative at input 'WITH' at line 1 position 1 near @01:4='WITH'<71>1:1

Add F311 Schema definition statement support


class org.apache.shardingsphere.sql.parser.sql.common.value.identifier.IdentifierValue cannot be cast to class org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement (org.apache.shardingsphere.sql.parser.sql.common.value.identifier.IdentifierValue and org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement are in unnamed module of loader 'app')

T351 Bracketed comments

You have an error in your SQL syntax: SELECT AGENT_NAME FROM agents /Bracketed SQL comments/ WHERE AGENT_NAME like '%u%' no viable alternative at input '/' at line 1 position 31 near @431:31='/'<16>1:31

Add F081 UNION and EXCEPT in views support


class org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SimpleTableSegment cannot be cast to class org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement (org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.SimpleTableSegment and org.apache.shardingsphere.sql.parser.sql.common.statement.SQLStatement are in unnamed module of loader 'app')

Add T174 Identity columns support


You have an error in your SQL syntax: CREATE TABLE T174 (ROW_ID integer generated by default as identity primary key ROW_NAME varchar(15)); null

Add T271 Savepoints support


You have an error in your SQL syntax: savepoint y no viable alternative at input 'savepoint' at line 1 position 1 near @01:9='savepoint'<121>1:1

Add T321 Basic SQL-invoked routines support


You have an error in your SQL syntax: CREATE FUNCTION ADD_INT(A INT B INT DEFAULT 0) RETURNS INT AS BEGIN RETURN A+B; END no viable alternative at input 'CREATEFUNCTION' at line 1 position 8 near @18:15='FUNCTION'<65>1:8

You have an error in your SQL syntax: CREATE OR ALTER PROCEDURE SUMM (A INTEGER B INTEGER) RETURNS(C INTEGER) AS BEGIN c = a + b; SUSPEND; END no viable alternative at input 'CREATEOR' at line 1 position 8 near @18:9='OR'<98>1:8

Add E153 Updatable queries with subqueries support


You have an error in your SQL syntax: CREATE TABLE CUSTOMER (CUST_CODE VARCHAR(6) NOT NULL PRIMARY KEY CUST_NAME VARCHAR(40) NOT NULL CUST_CITY CHAR(35) WORKING_AREA VARCHAR(35) NOT NULL CUST_COUNTRY VARCHAR(20) NOT NULL GRADE NUMERIC OPENING_AMT NUMERIC(122) NOT NULL RECEIVE_AMT NUMERIC(122) NOT NULL PAYMENT_AMT NUMERIC(122) NOT NULL OUTSTANDING_AMT NUMERIC(122) NOT NULL PHONE_NO VARCHAR(17) NOT NULL AGENT_CODE CHAR(6) NOT NULL REFERENCES AGENTS) null

Add F381 Extended schema manipulation support


You have an error in your SQL syntax: ALTER TABLE F381_01 ALTER COLUMN ROW1 TYPE CHAR(20) null

You have an error in your SQL syntax: ALTER TABLE F381_021 DROP CONSTRAINT FK_381_ROW_ID no viable alternative at input '' at line 1 position 51 near @651:50=''<-1>1:51

Add F571 Truth value tests support


You have an error in your SQL syntax: CREATE TABLE F571 (ROW_ID INT ROW_BOOL BOOLEAN) no viable alternative at input 'BOOLEAN' at line 1 position 41 near @841:47='BOOLEAN'<122>1:41

Add F858 'fetch first clause' in subqueries support


You have an error in your SQL syntax: SELECT USER_NAME (SELECT MAX(Score) FROM F855 t2 WHERE t2.Term = t1.Term AND t2.User_name = t1.User_name GROUP BY t2.Term t2. User_name OFFSET 0 ROWS FETCH FIRST 3 ROWS ONLY) as max_score FROM F855 t1 WHERE term = 'man' ORDER BY max_score DESC ITEM_NO ASC no viable alternative at input '(SELECTMAX(Score)FROMF855t2WHEREt2.Term=t1.TermANDt2.User_name=t1.User_nameGROUPBYt2.Termt2.User_nameOFFSET' at line 1 position 139 near @37139:144='OFFSET'<117>1:139

T331 Basic roles

You have an error in your SQL syntax: CREATE ROLE T331 no viable alternative at input 'CREATEROLE' at line 1 position 8 near @18:11='ROLE'<343>1:8

Add B034 Dynamic specification of cursor attributes support


You have an error in your SQL syntax: CREATE PROCEDURE B034_PROC () as DECLARE catalog_page CURSOR FOR (SELECT * FROM company ORDER BY namecompany OFFSET :offset_value ROWS FETCH NEXT :page_size ROWS ONLY); BEGIN OPEN catalog_page; END no viable alternative at input 'CREATEPROCEDURE' at line 1 position 8 near @18:16='PROCEDURE'<67>1:8

Add E121 Basic cursor support


You have an error in your SQL syntax: CREATE OR ALTER TRIGGER DECCURS1 before update on Company AS DECLARE cursor1 CURSOR for (select id namecompany typeproduct from company where typeproduct = 'pc'); BEGIN end no viable alternative at input 'CREATEOR' at line 1 position 8 near @18:9='OR'<98>1:8

Add T041 Basic LOB data type support


You have an error in your SQL syntax: CREATE TABLE T041_021 (ROW_ID INT ROW_CLOB BLOB SUB_TYPE TEXT) null

You have an error in your SQL syntax: SELECT CHAR_LENGTH (ROW_BLOB) FROM T041_03 no viable alternative at input 'CHAR_LENGTH' at line 1 position 8 near @18:18='CHAR_LENGTH'<233>1:8

You have an error in your SQL syntax: CREATE TYPE T041 AS LOCATOR T041_05_LOCATOR no viable alternative at input 'CREATETYPE' at line 1 position 8 near @18:11='TYPE'<169>1:8

Add system tables support

Add system tables (like RDB$DATABASE) as sharding tables in metadata (without keys, just for fetching information accross shards)

Add S091 Basic array support


You have an error in your SQL syntax: CREATE TABLE S091_01 (ARR_INT2 INTEGER45 ARR_INT3 INTEGER456 ARR_INT6 INTEGER4567) null

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.