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
The text was updated successfully, but these errors were encountered:
superichmann
changed the title
Wrong Number of Rows When Using LIMIT with LT JOIN Queries
Wrong Number of Rows is Presented When Using LIMIT with LT JOIN Queries
Jun 15, 2023
CREATE TABLE 'train' (
id DOUBLE,
date TIMESTAMP,
store_nbr DOUBLE,
family SYMBOL,
sales DOUBLE,
onpromotion DOUBLE
) timestamp(date);
run this INSERT INTO train SELECT * FROM train.csv
run this SELECT * FROM (train d LT JOIN (train c LT JOIN (train b LT JOIN (train a WHERE a.date<'2017-08-01' and a.date>'2017-06-15' AND a.family='HOME AND KITCHEN I') ON family WHERE b.date<'2017-08-01' and b.date>'2017-06-15' AND b.family='HOME AND KITCHEN I') ON family WHERE c.date<'2017-08-01' and c.date>'2017-06-15' AND c.family='HOME AND KITCHEN I') ON family WHERE d.date<'2017-08-01' and d.date>'2017-06-15' AND d.family='HOME AND KITCHEN I') LIMIT 3,99999999999999999
On my example actual rows amount is 1300.

The text was updated successfully, but these errors were encountered: