Define rawData = true on views over viewful timeseries

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      During SERVER-111120 (fix rawData = true for inner pipelines)'s development, we tested lookups on views over viewful timeseries collections. The behavior was arguably incorrect (it didn't resolve either view), but we also discovered the behavior of non-inner pipelines is also arguably incorrect (it resolves both views).

      We could do a few things:
      1. Define one of these behavior to be correct
      2. Define the behavior of resolving the outer view but not the inner, timeseries view to be correct. Arguably, the natural definition of rawData = true in this context.
      3. Refuse to execute commands over views on viewless timeseries when rawData = true.
      4. Ignore this (the problem isn't expected to have customer impacts)

      There's a bit of a snag:

      View resolution doesn't appear to be lazy. The catalog appears to eagerly expand views meaning the query layer may not be aware of when views are/aren't nested. So it's not clear if there's an easy way forward here. 

      Good news:

      This doesn't effect viewless timeseries. 

            Assignee:
            Unassigned
            Reporter:
            Sam Mercier
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: