XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • None
    • None

    Description

      Right now hint syntax prefers to keep hints near the top SELECT, e.g. SELECT /hints/. Also, hints are designed to be propagable such that the top SELECT hints can be propagated to other hintable nodes.

      For some hint strategies like resource, there will be ambiguity because we allow it be applicate to more than one type of node (e.g. resource works for both project and aggregate).
      So we could:

      1. want to set resources for project
      2. want to set resources for aggregate
      3. want to set resources for project and aggregate, but have different parameters.

      There are two alternatives:

      1. don't limit hint syntax to the top select. Allow it be put near, e.g. aggregation, etc.
      2. have different names for the resource hint. e.g. project_resources, aggregate_resources, etc.

      I personally prefer option 1, as it will reduce ambiguity from the root.

      Attachments

        Issue Links

          Activity

            People

              amaliujia Rui Wang
              amaliujia Rui Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: