Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broker: Add ability to inline subqueries. #9533

Merged
merged 3 commits into from
Mar 18, 2020

Commits on Mar 18, 2020

  1. Broker: Add ability to inline subqueries.

    The main changes:
    
    - ClientQuerySegmentWalker: Add ability to inline queries.
    - Query: Add "getSubQueryId" and "withSubQueryId" methods.
    - QueryMetrics: Add "subQueryId" dimension.
    - ServerConfig: Add new "maxSubqueryRows" parameter, which is used by
      ClientQuerySegmentWalker to limit how many rows can be inlined per
      query.
    - IndexedTableJoinMatcher: Allow creating keys on top of unknown types,
      by assuming they are strings. This is useful because not all types are
      known for fields in query results.
    - InlineDataSource: Store RowSignature rather than component parts. Add
      more zealous "equals" and "hashCode" methods to ease testing.
    - Moved QuerySegmentWalker test code from CalciteTests and
      SpecificSegmentsQueryWalker in druid-sql to QueryStackTests in
      druid-server. Use this to spin up a new ClientQuerySegmentWalkerTest.
    gianm committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    91ea2e9 View commit details
    Browse the repository at this point in the history
  2. Adjustments from CI.

    gianm committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    6f73c73 View commit details
    Browse the repository at this point in the history
  3. Fix integration test.

    gianm committed Mar 18, 2020
    Configuration menu
    Copy the full SHA
    e6461d9 View commit details
    Browse the repository at this point in the history