Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.2.0
-
7.2.0-5341
-
Untriaged
-
0
-
Unknown
Description
following query does not return warning when using incorrect collection (z)
EXPLAIN SELECT COUNT(DISTINCT r.destinationairport) FROM airport a JOIN route r ON r.sourceairport /*+ productivity z 600.0 */ = a.faa WHERE a.city = 'San Francisco' AND a.country = 'United States'; |
From test does not get any warning:
======================================================================
|
ERROR: test_hints_warnings (cbas.cbas_cbo_hints.CbasHintsTests)
|
----------------------------------------------------------------------
|
Traceback (most recent call last):
|
File "/Users/pierre.regazzoni/couchbase/testrunner/pytests/cbas/cbas_cbo_hints.py", line 87, in test_hints_warnings |
self.assertEqual(explain["warnings"][0]["msg"], hints_warning[self.hash_hint]) |
KeyError: 'warnings' |
Attachments
Issue Links
- links to