- Notifications
You must be signed in to change notification settings - Fork51
Open
Description
Feature Request
If you want to contribute code to FnckSQL and find requirements, you can refer to the following list
The corresponding test files are attached under the requirements description. The specific location is in the test directory.
e.g.E011_02
=>tests/slt/sql_2016/E011_02.slt
Tips: When you complete the requirement and submit the PR, please do not forget to delete the comment corresponding to the Case.
- DataType: DOUBLE PRECISION
- DataType: REAL
- E011_02
- DataType: NUMERIC
- E011_03
- DataType: CHAR/CHARACTER (VARING)
- E021_01
- E021_02
- E021_10
- pr:feat: add
DataType::Char
and addLEN
toDescribe
#174
- Function: CHARACTER_LENGTH()/CHAR_LENGTH()
- Function: OCTET_LENGTH()
- Function: SUBSTRING()
- E021_06
- pr:feat: support
SUBSTRING()
#134
- Function: LOWER()/UPPER()
- E021_08
- pr:feat: add function Lower & Upper #231
- Function: TRIM()
- E021_09
- pr:feat: add support for
TRIM()
#211
- Function: POSITION()
- E021_11
- pr:feat: add support for
POSITION()
#159
- Perf: Eliminate duplicate aggregations
- E051_01: SELECT DISTINCT A, B FROM TABLE_E051_02_01_06 WHERE A = 1 GROUP BY A, B
- pr:perf: Eliminate duplicate aggregations #132
- TODO: Support AS() on
Select
- E051_07
- E051_08
- pr:feat: support
from 'table' as 'alias' ('column_1', 'column_2')
#131
- TODO: Support Aliases the result set
- TODO: Rename columns in the FROM clause
- TODO: Support
BETWEEN
onWhere
- E061_02
- pr:feat: support
BETWEEN
onWhere
#133
- TODO: Support
ESCAPE
onLIKE
- E061_05
- pr:feat: Support
ESCAPE
onLIKE
#135
- TODO: Support subquery with
ALL/ANY/SOME
onWHERE
- E061_07
- E061_12
- TODO: Support
EXISTS
onWHERE
- E061_08
- E071_06
- TODO: Support Subquery on
WHERE
- TODO: Support Subquery on
WHERE
withIN/Not IN
- E061_11
- E061_13
- pr:Support
Subquery
onWHERE
withIN/Not IN
#147
- TODO: Support
UNION\UNION DISTINCT
- E071_01
- pr:feat: support
Union
#139
- TODO: Support
UNION ALL
- E071_02
- pr:feat: support
Union
#139
- TODO: Support
EXCEPT DISTINCT
- E071_03
- TODO: Columns combined via table operators need not have exactly the same data type
- E071_05: SELECT A FROM TABLE_E071_05_01_011 UNION ALL SELECT B FROM TABLE_E071_05_01_012
- TODO: Support
SELECT INTO
- TODO: Support Custom
CONSTRAINT
name- E141_01
- TODO: Multiple primary keys
- E141_03
- E141_08
- pr:Feat/multiple primary keys #239
- DataType: NAME
- E141_07
- Keyword: CURRENT_DATE
- E141_07
- F051_06
- pr:Feat: add Function:
current_date
& add Type:LogicalType::Time
#181
- DataType: TIME
- DataType: TIMESTAMPE
- E141_07
- Keyword: CURRENT_TIMESTAMP
- E141_07
- Keyword: LOCALTIME
- E141_07
- F051_07
- Keyword: LOCALTIMESTAMP
- E141_07
- F051_08
- TODO: Support multiple transaction levels
- E152_02
- TODO: Updatable queries with subqueries
- E153
- TODO: Support
VIEW
&CREATE VIEW
&DROP VIEW
- F031_02
- F032_16
- pr:Feat/View #236
- TODO:
EXCEPT
withVIEW
- F081
- pr:Feat/View #236
- TODO:
WHERE
,GROUP BY
, andHAVING
clauses supported in queries with grouped views- F131_01
- pr:Feat/View #236
- TODO: Multiple tables supported in queries with grouped views
- F131_02
- pr:Feat/View #236
- TODO: Set functions supported in queries with grouped views
- F131_03
- pr:Feat/View #236
- TODO: Subqueries with GROUP BY and HAVING clauses and grouped views
- F131_04
- pr:Feat/View #236
- TODO: Support
Using
onJoin
- F041_01
- F041_02
- F041_03
- F041_04
- F041_07
- pr:Support:
Explicit defaults
&Using
onJoin
& the inner table in a left or right outer join can also be used in an inner join #146
- TypeString: TIME
- F051_02
- F051_04
- F051_05
- TypeString: TIMESTAMPE
- F051_03
- F051_04
- F051_05
- TODO: Explicit defaults
- TODO: Support
CASE
- TODO: Searched CASE
- Keyword: NULLIF
- Function: COALESCE
- TODO: Support Subquery on Select