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

[CARBONDATA-269]change delete segment syntax #192

Closed
wants to merge 1 commit into from

Conversation

Jay357089
Copy link
Contributor

@Jay357089 Jay357089 commented Sep 22, 2016

@Jay357089 Jay357089 force-pushed the masterparser branch 2 times, most recently from a20c091 to 28ff611 Compare September 22, 2016 13:55
@Jay357089 Jay357089 changed the title [WIP]change delete segment parsre [CARBONDATA-269]change delete segment grammar Sep 22, 2016
@Jay357089
Copy link
Contributor Author

@jackylk
Copy link
Contributor

jackylk commented Sep 23, 2016

What is the new proposed syntax here?
I suggest to discuss in maillist firstly to ask the opinion of users before making any changes to syntax

@Jay357089 Jay357089 changed the title [CARBONDATA-269]change delete segment grammar [CARBONDATA-269]change delete segment syntax Sep 23, 2016
DELETE ~> SEGMENT ~> repsep(segmentId, ",") ~ (FROM ~> TABLE ~>
(ident <~ ".").? ~ ident) <~
DELETE ~> FROM ~ TABLE ~> (ident <~ ".").? ~ ident ~
(WHERE ~> SEGMENT ~> EQUAL ~> repsep(segmentId, ",")) <~
Copy link
Contributor

Choose a reason for hiding this comment

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

I think its better to use segments in both places deleteLoadsByID , deleteLoadsByLoadDate to avoid confusion

@Jay357089
Copy link
Contributor Author

@ManoharVanam
Copy link
Contributor

Please update all related .md files .

@Jay357089
Copy link
Contributor Author

need more discussion. close for now.

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.

3 participants