hinting index with different collation than query specifies should give an error or warning

XMLWordPrintableJSON

    • Query Optimization
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Looks like it's possible to hint an index that has one collation defined but specify a different collation on the query itself.

      It should probably be an error, similar to requests in SERVER-8564 but I can also see this being a warning, since it's possible to conceive a query that is using default collation but wants to use an existing different collation index for filtering in a scenario where this does not impact the results.

              Assignee:
              Nicholas Zolnierz
              Reporter:
              Asya Kamsky
              Votes:
              0 Vote for this issue
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: