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

SQL: Make row extractions extensible and add one for lookups. #3991

Merged
merged 1 commit into from
Mar 14, 2017

Conversation

gianm
Copy link
Contributor

@gianm gianm commented Mar 2, 2017

This is a reopening of #3989, since that PR was merged to master prematurely
and accidentally.

Two main changes here:

  • Fold ExpressionConverter into Expressions.toRowExtraction, and make the latter take a DruidOperatorTable so the conversion of SQL expressions to Druid expressions is now extensible.

  • Add a LookupExtractionOperator which offers a Druid SQL function LOOKUP(expression, lookupName) that hooks into query time lookups.

This is a reopening of apache#3989, since that PR was merged to master prematurely
and accidentally.
@gianm gianm added the Feature label Mar 2, 2017
@gianm gianm added this to the 0.10.1 milestone Mar 2, 2017
@gianm gianm requested review from fjy and jon-wei March 2, 2017 01:08
@fjy
Copy link
Contributor

fjy commented Mar 2, 2017

👍

@jihoonson
Copy link
Contributor

LGTM!

@jon-wei
Copy link
Contributor

jon-wei commented Mar 14, 2017

👍

@jon-wei jon-wei merged commit 3216134 into apache:master Mar 14, 2017
@gianm gianm deleted the sql-lookup branch September 23, 2022 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants