-
Notifications
You must be signed in to change notification settings - Fork 89
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
Add structured search atom for filtering by results that differ #1463
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,6 +117,12 @@ func (Link) Size() int { return 1 } | |
// Size of Count is the sum of the sizes of its constituent ConcretQuery instances. | ||
func (c Count) Size() int { return size(c.Args) } | ||
|
||
// Size of Is depends on the quality. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What are these There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The "size" of the query being performed; not sure exactly when it's used. @mdittmer could answer that. |
||
func (q MetadataQuality) Size() int { | ||
// Currently only 'Different' supported, which is one set comparison per row. | ||
return 1 | ||
} | ||
|
||
// Size of Or is the sum of the sizes of its constituent ConcretQuery instances. | ||
func (o Or) Size() int { return size(o.Args) } | ||
|
||
|
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.
There's just
different
now, but isflaky
one you want to add in the future?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.
Yep :)