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

Support join across more than two time series #973

Merged
merged 3 commits into from
Nov 3, 2014
Merged

Support join across more than two time series #973

merged 3 commits into from
Nov 3, 2014

Conversation

jvshahid
Copy link
Contributor

@jvshahid
Copy link
Contributor

The feature is almost complete. But it looks like we don't get the last point. There's a failing test on the branch that needs to be fixed. I'll mark this pr for review when it's ready.

(from_clause.go,query.yacc,query_types.h): FROM_INNER_JOIN -> FROM_JOIN
@jvshahid
Copy link
Contributor

@dgnorton @toddboom can you take a look at this

log4go.Fine("JoinEngine: pts = %d", je.pts)
// if the number of tables ready to emit a point isn't equal to the
// total number of tables being joined, then return
if je.pts != len(je.tablesState) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jvshahid is it possible to end up in a state where a table has no points to emit? Empty table?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, that could be the case if one of the tables has no points in it. why ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it will return and never actually yield the points if that happens.

@jvshahid jvshahid merged commit edd22ce into master Nov 3, 2014
@jvshahid jvshahid removed the review label Nov 3, 2014
@dgnorton dgnorton deleted the fix-973 branch January 12, 2015 17:28
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.

None yet

3 participants