You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Vijay Sarathy (Jira)" <ji...@apache.org> on 2023/03/06 23:45:00 UTC

[jira] [Created] (ASTERIXDB-3126) CBO: hint productivity NPE if missing cardinality estimate on collection

Vijay Sarathy created ASTERIXDB-3126:
----------------------------------------

             Summary: CBO: hint productivity NPE if missing cardinality estimate on collection
                 Key: ASTERIXDB-3126
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-3126
             Project: Apache AsterixDB
          Issue Type: Bug
          Components: COMP - Compiler
    Affects Versions: 0.9.6
            Reporter: Vijay Sarathy


To repro, run following with productivity hint without productivity value
|SELECT COUNT(DISTINCT r.destinationairport)|
|FROM airport a|
|  JOIN route r ON r.sourceairport /*+ productivity */ = a.faa|
|WHERE a.city = 'San Francisco'|
|  AND a.country = 'United States'|



--
This message was sent by Atlassian Jira
(v8.20.10#820010)