-
-
Notifications
You must be signed in to change notification settings - Fork 617
Updated 599-fuzzy-join-facet-no-such-table.rec [skip ci] #3831
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
base: master
Are you sure you want to change the base?
Conversation
642d51b
to
5843d24
Compare
clt❌ CLT tests in Failed tests:🔧 Edit failed tests in UI: test/clt-tests/bugs/599-fuzzy-join-facet-no-such-table.rec––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd $SEARCHD_FLAGS > /dev/null; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS products; CREATE TABLE products (id BIGINT, name TEXT, brand_name TEXT) min_infix_len='2';"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS property; CREATE TABLE property (id BIGINT, product_variant_id UINT, property_id UINT, value STRING);"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "INSERT INTO products (id, name, brand_name) VALUES (1, 'motor oil', 'BrandA'), (2, 'engine oil', 'BrandB');"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "INSERT INTO property (id, product_variant_id, property_id, value) VALUES (1, 1, 10, 'red'), (2, 2, 10, 'blue');"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "SELECT id, name FROM products LEFT JOIN property ON property.product_variant_id = products.id WHERE MATCH('oil') GROUP BY id ORDER BY weight() DESC LIMIT 10 FACET property.value, property.property_id BY property.property_id, property.value LIMIT 100;"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "SELECT id, name FROM products LEFT JOIN property ON property.product_variant_id = products.id WHERE MATCH('oil') GROUP BY id ORDER BY weight() DESC LIMIT 10 OPTION fuzzy=1 FACET property.value, property.property_id BY property.property_id, property.value LIMIT 100;"
––– output –––
- +------+------------+
+ ERROR 1064 (42000) at line 1: no such table ''
- | id | name |
- +------+------------+
- | 1 | motor oil |
- | 2 | engine oil |
- +------+------------+
- +----------------+----------------------+----------+
- | property.value | property.property_id | count(*) |
- +----------------+----------------------+----------+
- | red | 10 | 1 |
- | blue | 10 | 1 |
- +----------------+----------------------+----------+
––– input –––
mysql -h0 -P9306 -e "SELECT id, name FROM products LEFT JOIN property ON property.product_variant_id = products.id WHERE MATCH('oil') GROUP BY id ORDER BY weight() DESC LIMIT 10 OPTION fuzzy=1 FACET property.value, property.property_id BY property.property_id, property.value LIMIT 100;"
––– output –––
- +------+------------+
+ ERROR 1064 (42000) at line 1: no such table ''
- | id | name |
- +------+------------+
- | 1 | motor oil |
- | 2 | engine oil |
- +------+------------+
- +----------------+----------------------+----------+
- | property.value | property.property_id | count(*) |
- +----------------+----------------------+----------+
- | red | 10 | 1 |
- | blue | 10 | 1 |
- +----------------+----------------------+----------+
––– input –––
mysql -h0 -P9306 -e "SELECT id, name FROM products WHERE MATCH('moter') OPTION fuzzy=1;"
––– output –––
OK |
clt❌ CLT tests in Failed tests:🔧 Edit failed tests in UI: test/clt-tests/bugs/599-fuzzy-join-facet-no-such-table.rec––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd $SEARCHD_FLAGS > /dev/null; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS products; CREATE TABLE products (id BIGINT, name TEXT, brand_name TEXT) min_infix_len='2';"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS property; CREATE TABLE property (id BIGINT, product_variant_id UINT, property_id UINT, value STRING);"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "INSERT INTO products (id, name, brand_name) VALUES (1, 'motor oil', 'BrandA'), (2, 'engine oil', 'BrandB');"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "INSERT INTO property (id, product_variant_id, property_id, value) VALUES (1, 1, 10, 'red'), (2, 2, 10, 'blue');"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "SELECT id, name FROM products LEFT JOIN property ON property.product_variant_id = products.id WHERE MATCH('oil') GROUP BY id ORDER BY weight() DESC LIMIT 10 FACET property.value, property.property_id BY property.property_id, property.value LIMIT 100;"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "SELECT id, name FROM products LEFT JOIN property ON property.product_variant_id = products.id WHERE MATCH('oil') GROUP BY id ORDER BY weight() DESC LIMIT 10 OPTION fuzzy=1 FACET property.value, property.property_id BY property.property_id, property.value LIMIT 100;"
––– output –––
- +------+------------+
+ ERROR 1064 (42000) at line 1: no such table ''
- | id | name |
- +------+------------+
- | 1 | motor oil |
- | 2 | engine oil |
- +------+------------+
- +----------------+----------------------+----------+
- | property.value | property.property_id | count(*) |
- +----------------+----------------------+----------+
- | red | 10 | 1 |
- | blue | 10 | 1 |
- +----------------+----------------------+----------+
––– input –––
mysql -h0 -P9306 -e "SELECT id, name FROM products LEFT JOIN property ON property.product_variant_id = products.id WHERE MATCH('oil') GROUP BY id ORDER BY weight() DESC LIMIT 10 OPTION fuzzy=1 FACET property.value, property.property_id BY property.property_id, property.value LIMIT 100;"
––– output –––
- +------+------------+
+ ERROR 1064 (42000) at line 1: no such table ''
- | id | name |
- +------+------------+
- | 1 | motor oil |
- | 2 | engine oil |
- +------+------------+
- +----------------+----------------------+----------+
- | property.value | property.property_id | count(*) |
- +----------------+----------------------+----------+
- | red | 10 | 1 |
- | blue | 10 | 1 |
- +----------------+----------------------+----------+
––– input –––
mysql -h0 -P9306 -e "SELECT id, name FROM products WHERE MATCH('moter') OPTION fuzzy=1;"
––– output –––
OK |
clt❌ CLT tests in Failed tests:🔧 Edit failed tests in UI: test/clt-tests/bugs/599-fuzzy-join-facet-no-such-table.rec––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd $SEARCHD_FLAGS > /dev/null; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS products; CREATE TABLE products (id BIGINT, name TEXT, brand_name TEXT) min_infix_len='2';"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS property; CREATE TABLE property (id BIGINT, product_variant_id UINT, property_id UINT, value STRING);"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "INSERT INTO products (id, name, brand_name) VALUES (1, 'motor oil', 'BrandA'), (2, 'engine oil', 'BrandB');"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "INSERT INTO property (id, product_variant_id, property_id, value) VALUES (1, 1, 10, 'red'), (2, 2, 10, 'blue');"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "SELECT id, name FROM products LEFT JOIN property ON property.product_variant_id = products.id WHERE MATCH('oil') GROUP BY id ORDER BY weight() DESC LIMIT 10 FACET property.value, property.property_id BY property.property_id, property.value LIMIT 100;"
––– output –––
OK
––– input –––
mysql -h0 -P9306 -e "SELECT id, name FROM products LEFT JOIN property ON property.product_variant_id = products.id WHERE MATCH('oil') GROUP BY id ORDER BY weight() DESC LIMIT 10 OPTION fuzzy=1 FACET property.value, property.property_id BY property.property_id, property.value LIMIT 100;"
––– output –––
- +------+------------+
+ ERROR 1064 (42000) at line 1: no such table ''
- | id | name |
- +------+------------+
- | 1 | motor oil |
- | 2 | engine oil |
- +------+------------+
- +----------------+----------------------+----------+
- | property.value | property.property_id | count(*) |
- +----------------+----------------------+----------+
- | red | 10 | 1 |
- | blue | 10 | 1 |
- +----------------+----------------------+----------+
––– input –––
mysql -h0 -P9306 -e "SELECT id, name FROM products LEFT JOIN property ON property.product_variant_id = products.id WHERE MATCH('oil') GROUP BY id ORDER BY weight() DESC LIMIT 10 OPTION fuzzy=1 FACET property.value, property.property_id BY property.property_id, property.value LIMIT 100;"
––– output –––
- +------+------------+
+ ERROR 1064 (42000) at line 1: no such table ''
- | id | name |
- +------+------------+
- | 1 | motor oil |
- | 2 | engine oil |
- +------+------------+
- +----------------+----------------------+----------+
- | property.value | property.property_id | count(*) |
- +----------------+----------------------+----------+
- | red | 10 | 1 |
- | blue | 10 | 1 |
- +----------------+----------------------+----------+
––– input –––
mysql -h0 -P9306 -e "SELECT id, name FROM products WHERE MATCH('moter') OPTION fuzzy=1;"
––– output –––
OK |
Type of Change (select one):
Description of the Change:
Related Issue (provide the link):