Skip to content

Conversation

@costin
Copy link
Member

@costin costin commented Dec 10, 2019

First draft for extracting reusable components from SQL into their own project.
It is wip mainly to double check the tests

@costin costin added WIP :Analytics/SQL SQL querying :Analytics/EQL EQL querying labels Dec 10, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/SQL)

Copy link
Contributor

@matriv matriv left a comment

Choose a reason for hiding this comment

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

Left some comments, but looks good!

Copy link
Contributor

@matriv matriv left a comment

Choose a reason for hiding this comment

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

Done with a few more comments.

Copy link
Contributor

@astefan astefan left a comment

Choose a reason for hiding this comment

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

Left some minor comments. LGTM.

* Marker interface indicating that a function accepts one optional argument (typically the last one).
* This is used by the {@link FunctionRegistry} to perform validation of function declaration.
*/
public interface OptionalArgument {
Copy link
Contributor

Choose a reason for hiding this comment

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

This change needs to go into SQL's function classes as well, at one point.

Copy link
Member Author

Choose a reason for hiding this comment

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

what do you mean? It's used by classes both in ql (Iif) and sql (TopHits).

@costin
Copy link
Member Author

costin commented Jan 10, 2020

Superseded by #50815

@costin costin closed this Jan 10, 2020
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