Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

[PPL] Create ANTLR parser and implement basic syntax - Phase0 #429

Merged
merged 26 commits into from
Apr 23, 2020

Conversation

chloe-zh
Copy link
Member

Issue #, if available:

Description of changes:

  • Implemeted AST builder for commands in phase0, with basic syntax.
  • Added unit tests
  • TODO: investigate the feasibility to implement the rest part of syntax in these commands; enrich the AST draft with complete syntax that P0 should achieve

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

ppl/build.gradle Outdated Show resolved Hide resolved
Copy link
Member

@dai-chen dai-chen left a comment

Choose a reason for hiding this comment

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

It would be great if we can draft a simple design doc with some diagram. Probably draw or generate a class diagram quickly so we can track these new abstractions.

@ToString
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
public class Aggregation extends UnresolvedPlan {
Copy link
Contributor

Choose a reason for hiding this comment

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

lombok has Buiilder annotation, could you use it?

Copy link
Member

@dai-chen dai-chen left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

Copy link
Contributor

@penghuo penghuo left a comment

Choose a reason for hiding this comment

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

Thanks for the change!

@chloe-zh chloe-zh merged commit ded0421 into opendistro-for-elasticsearch:feature/ppl Apr 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants