KipData/KiteSQL

TODO: SQL 2016

Opened this issue · 0 comments

Feature Request

If you want to contribute code to KiteSQL 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
  • DataType: NUMERIC
    • E011_03
  • DataType: CHAR/CHARACTER (VARING)
    • E021_01
    • E021_02
    • E021_10
    • pr: #174
  • Function: CHARACTER_LENGTH()/CHAR_LENGTH()
  • Function: OCTET_LENGTH()
  • Function: SUBSTRING()
  • Function: LOWER()/UPPER()
  • Function: TRIM()
  • Function: POSITION()
  • Perf: Eliminate duplicate aggregations
    • E051_01: SELECT DISTINCT A, B FROM TABLE_E051_02_01_06 WHERE A = 1 GROUP BY A, B
    • pr: #132
  • TODO: Support AS() on Select
    • E051_07
    • E051_08
    • pr: #131
  • TODO: Support Aliases the result set
  • TODO: Rename columns in the FROM clause
  • TODO: Support BETWEEN on Where
  • TODO: Support ESCAPE on LIKE
  • ❌ TODO: Support subquery with ALL/ANY/SOME on WHERE
    • E061_07
    • E061_12
    • sqlparser-rs does not support
  • TODO: Support EXISTS on WHERE
    • E061_08
    • E071_06
    • pr: #269
  • TODO: Support Subquery on WHERE
  • TODO: Support Subquery on WHERE with IN/Not IN
    • E061_11
    • E061_13
    • pr: #147
  • TODO: Support UNION\UNION DISTINCT
  • TODO: Support UNION ALL
  • TODO: Support EXCEPT DISTINCT
  • 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
    • pr: #284
  • TODO: Support SELECT INTO
  • ❌ TODO: Support Custom CONSTRAINT name
    • E141_01
    • KiteSQL does not plan to support constraints
  • TODO: Multiple primary keys
    • E141_03
    • E141_08
    • pr: #239
  • DataType: NAME
    • E141_07
  • Keyword: CURRENT_DATE
    • E141_07
    • F051_06
    • pr: #181
  • DataType: TIME
  • DataType: TIMESTAMPE
  • Keyword: CURRENT_TIMESTAMP
  • Keyword: LOCALTIME
    • E141_07
    • F051_07
  • Keyword: LOCALTIMESTAMP
    • E141_07
    • F051_08
  • ❌ TODO: Support multiple transaction levels
    • E152_02
  • TODO: Updatable queries with subqueries
  • TODO: Support VIEW & CREATE VIEW & DROP VIEW
    • F031_02
    • F032_16
    • pr: #236
  • TODO: EXCEPT with VIEW
  • TODO: WHERE, GROUP BY, and HAVING clauses supported in queries with grouped views
    • F131_01
  • pr: #236
  • TODO: Multiple tables supported in queries with grouped views
  • TODO: Set functions supported in queries with grouped views
  • TODO: Subqueries with GROUP BY and HAVING clauses and grouped views
  • TODO: Support Using on Join
    • F041_01
    • F041_02
    • F041_03
    • F041_04
    • F041_07
    • pr: #146
  • TypeString: TIME
    • F051_02
    • F051_04
    • F051_05
    • pr: #181
  • TypeString: TIMESTAMPE
    • F051_03
    • F051_04
    • F051_05
    • pr: #271
  • TODO: Explicit defaults
  • TODO: Support CASE
  • TODO: Searched CASE
  • Keyword: NULLIF
  • Function: COALESCE
  • TODO: Support Subquery on Select