donglixp / coarse2fine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Changing the 'lay' variable

Sandy26 opened this issue · comments

HI Li,
Currently the "lay" field gets whether or not there is condition in the required SQL query and if yes, how many conditions and which conditions (i.e. = , > , <) and this decides the "sketch" of the query,correct?

Now If I want to add LIMIT functionality can I append "lim" to the sketch so that "lay" field becomes say ['=','>','lim'] and then have a separate "limit decoder" just like cond decoder to calculate limit value?

Your thoughts/guidance is greatly appreciated

Thank you,
Shruti