You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am debugging on the subqueries, in my knowledge there are many types of subquery
Scalar, Row subqueries (in clauses), Table subqueries
And there is Uncorrelated subquries, and Correlated Subquery.
Currently, sqlsmith seems to only support table subqueries that are used in FROM statement. (I dun think the case where x in select(...) is being implemented (I can think of implementing this in later time).
And there is a few bug I notice, (Still need more debugging)
We cannot
Select *
From t1, (select t1.x)
but we can
select *
from t1,
where t1.x in (select t1.x)
Current SqlSmith does not generate the 2nd one. However, it wrongly generated the 1st one.
marvenlee2486
changed the title
Enable gen subqueries. Not too sure what this is caused by.
Enable gen subqueries. Finding the bug and solving it
Jul 16, 2022
marvenlee2486
changed the title
Enable gen subqueries. Finding the bug and solving it
SqlSmith: Enable gen subqueries. Finding the bug and solving it
Jul 16, 2022
TODO list
I am debugging on the subqueries, in my knowledge there are many types of subquery
Scalar, Row subqueries (in clauses), Table subqueries
And there is Uncorrelated subquries, and Correlated Subquery.
Currently, sqlsmith seems to only support table subqueries that are used in FROM statement. (I dun think the case where x in select(...) is being implemented (I can think of implementing this in later time).
And there is a few bug I notice, (Still need more debugging)
but we can
Current SqlSmith does not generate the 2nd one. However, it wrongly generated the 1st one.
There may be more, let me fix the 1st one first.
The text was updated successfully, but these errors were encountered: