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

WIP: Just Another expressioN system #320

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open

WIP: Just Another expressioN system #320

wants to merge 27 commits into from

Conversation

Bensk1
Copy link
Contributor

@Bensk1 Bensk1 commented Mar 6, 2014

This replaces genericExpressions by introducing a similar approach, but instead of using macro and boost magic it uses a python script to fill a Jinja2 template. Documentation can be found in src/lib/access/expressions/expressionGeneration/README.md and the attached image illustrates the structure of this system.

bildschirmfoto 2014-03-06 um 19 58 28

ExpressionTableScan is responsible for handing the parameters
and tables to the Expression. Similar to other table scans, but
with less functionality.

ExpressionLibrary is a singleton which keeps track of all
available expressions and works as a dispatcher.

Expression is the base class for all further expressions
generator.py generates expressions which are defined in
expressionsToGenerate.txt The generated expressions
are derived from class Expression (see 8167c63)
and built by using the ExpressionTemplate(CPP|H).tpl

MAnual in src/lib/access/expressions/expressionGeneration/generatedExpressions/README.md
Before all types of expressions were evaluated on values only.
Now EQ expressions are evaluated on valueIds.
@hyrise-bot
Copy link

Can one of the admins verify this patch?

@bastih
Copy link
Contributor

bastih commented Mar 7, 2014

test this please

@bastih
Copy link
Contributor

bastih commented Mar 7, 2014

add to whitelist

@hyrise-bot
Copy link

Test failed.
Refer to this link for build results: http://devdojo.de:5555/job/hyrise-multiconf-pull/674/

@hyrise-bot
Copy link

Test PASSED!
Refer to this link for build results: http://devdojo.de:5555/job/hyrise-multiconf-pull/676/

@schwald
Copy link
Member

schwald commented Nov 22, 2014

@Bensk1 Can you please rebase the PR to the current master and squash it?

Conflicts:
	.gitignore
	src/lib/access/expressions/GenericExpressions.cpp
	src/lib/access/expressions/GenericExpressions.h
	src/lib/access/expressions/GenericExpressions.inc
	test/autojson/DISABLED_load_insert_merge_find_par.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants