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

implement new parsing into put command #165

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

StoneDot
Copy link
Contributor

@StoneDot StoneDot commented Sep 8, 2023

Issue #, if available:
Solve #162

Description of changes:
Introduce pest parsing into put command. This commit adds new features and breaking changes but not limited to,

  • Support binary types.
  • Support single quotes for a string type.
  • Support explicit set types.

However, it no longer supports the inference of set type when using [elem] because we can now specify set type explicitly using <<elem>> literal.

BREKING CHANGE: put command no longer infers a set type.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@StoneDot StoneDot requested a review from tmyoda September 8, 2023 06:31
@StoneDot StoneDot force-pushed the improve-parsing-put branch 2 times, most recently from d9f466c to e882903 Compare September 29, 2023 17:43
@StoneDot StoneDot marked this pull request as ready for review September 29, 2023 17:46
Copy link
Contributor

@tmyoda tmyoda left a comment

Choose a reason for hiding this comment

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

I am sorry for the delay in my review.
Thank you for implementing the new feature and creating the clear documents.

I left a few minor comments; I would appreciate it if you could check it.

docs/format.md Outdated Show resolved Hide resolved
docs/format.md Outdated Show resolved Hide resolved
docs/format.md Outdated Show resolved Hide resolved
src/parser.rs Outdated Show resolved Hide resolved
Introduce pest parsing into put command.
This commit adds new features and breaking changes, but not limited to,

* Support binary types.
* Support single quotes for a string type.
* Support explicit set types.

However, it no longer supports the inference of set type when using `[elem]`
because we can now specify set type explicitly using `<<elem>>` literal.

BREKING CHANGE: put command no longer infers a set type.
@StoneDot
Copy link
Contributor Author

StoneDot commented Oct 8, 2023

@tmyoda Thank you for your review. I made fixes based on your comments. Could you check these modifications?

Copy link
Contributor

@tmyoda tmyoda left a comment

Choose a reason for hiding this comment

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

Thank you for addressing some points. This is a great enhancement. It looks good to me.

@StoneDot StoneDot merged commit d546a36 into awslabs:main Oct 9, 2023
1 check passed
@StoneDot StoneDot deleted the improve-parsing-put branch October 17, 2023 07:24
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.

2 participants