Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-3349

Indexnl hint not honored with CBO.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • COMP - Compiler

    Description

      The indexnl hint is not honored for the following query. The plan contains two hash joins and no index nested loops join between R and S.

      select count(1) from R join S on  int64_default_null(R.u64) /*+ indexnl */  =  (S.u64)
      join T on S.u256  /*+ hashjoin build (T) */ = T.u256
      

      Attachments

        Activity

          People

            vsarathy1 Vijay Sarathy
            vsarathy1 Vijay Sarathy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: