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

Indexnl hint with index names not working correctly

    XMLWordPrintableJSON

Details

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

    Description

      For the following queries, no warning is issued when an invalid index is specified with the indexnl hint. The correct behavior is that a warning should be issued, the hint should be ignored, and all possible join methods should be explored.

      Create the following indexes.
      Create index R_idx_a on R(a:int);
      Create index R_idx_b on R(b:int);

      The following queries (with an invalid index in the indexnl hint) do not issue a warning about the invalid index and the hint is honored.

      select * from R, S where R.a /*+ indexnl (idx_c) */ = tobigint(S.a)
      select * from R, S where R.a /*+ indexnl (idx_a, idx_c) */ = tobigint(S.a)

      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: