Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO before integration #83

Closed
16 of 21 tasks
vserret opened this issue Aug 24, 2023 · 0 comments
Closed
16 of 21 tasks

TODO before integration #83

vserret opened this issue Aug 24, 2023 · 0 comments
Assignees
Labels
plan Planification task

Comments

@vserret
Copy link
Contributor

vserret commented Aug 24, 2023

Simple integration (we only reuse the schema)

  • Visitor for converting qrlew Schema to proto Schema : ½ - 1 day

Complete integration

  • Conversion SqlParser::Query -> Relation :

  • HAVING,

  • DISTINCT, (1 week)

  • COUNT(*), (2 days)

  • CAST

  • TABLESAMPLE (1 day): ** Not supported by sqlparser**

  • Alias and names with ‘“‘ (2 days) #234

  • String functions: upper, lower, concat, coalesce, trim, substring, substr, position, char_lengh, encode, decode, unhex, regexp_contains, regexp_extract, regexp_substr, regexp_replace (2 days)

  • Date functions: CURRENT_DATE | CURRENT_TIME | CURRENT_TIMESTAMP, EXTRACT, DAYNAME, FROM_UNIXTIME, UNIX_TIMESTAMP, DATE_FORMAT, QUARTER, DOW, DATETIME_DIFF, DATEPART, DATE (2 days)

  • Mathematical functions : abs, ceil, ceiling, floor, sign, sqrt, square, exp, ln, log, log10, log2, sin, cos, tan, asin, acos, atan, atanh, degrees, pi, random, rand, newid, round, power (2 days)

  • Boolean expressions

  • Truncate functions : trunc, truncate (1 day)

  • Translator

  • Function for finding table names #235

  • Function for renaming tables

  • split quotes function

  • ValidQueryRewriter (aliasing the columns, add some columns in the SELECT … ) #232

  • Merge with synthetic result #233

  • DP compilation:

  • problem with when the peid is not a string (Could be resolved by implementing CAST)

  • DP estimators for : AVG, VARIANCE, STDDEV (2 days)

  • Automatic bounding ?

@ngrislain ngrislain added the enhancement New feature or request label Aug 31, 2023
@ngrislain ngrislain added this to the Integration into Sarus milestone Sep 1, 2023
@ngrislain ngrislain added plan Planification task and removed enhancement New feature or request labels Sep 1, 2023
@vserret vserret closed this as completed Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plan Planification task
Projects
None yet
Development

No branches or pull requests

3 participants