-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Conversation
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
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) { |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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.
See: https://groups.google.com/forum/#!topic/influxdb/a2hFUFW5PHA