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

copr: Add enum/set into ScalarValue and VectorValue #9021

Merged
merged 4 commits into from
Nov 17, 2020

Conversation

Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Nov 12, 2020

What problem does this PR solve?

Add enum/set into ScalarValue and VectorValue

Check List

Tests

  • Unit test
  • Integration test

Signed-off-by: Xuanwo <github@xuanwo.io>
Signed-off-by: Xuanwo <github@xuanwo.io>
Copy link
Member

@skyzh skyzh left a comment

Choose a reason for hiding this comment

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

Rest LGTM

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Nov 16, 2020
@skyzh
Copy link
Member

skyzh commented Nov 16, 2020

/run-all-tests

@skyzh
Copy link
Member

skyzh commented Nov 16, 2020

It seems that integration test panics when encoding chunks.I suggest not adding encoding logic for now.

Signed-off-by: Xuanwo <github@xuanwo.io>
@skyzh
Copy link
Member

skyzh commented Nov 16, 2020

/run-all-tests

@@ -235,6 +241,8 @@ impl Datum {
Datum::Dur(ref d) => cmp_f64(d.to_secs_f64(), f),
Datum::Time(t) => cmp_f64(t.convert(ctx)?, f),
Datum::Json(_) => Ok(Ordering::Less),
Datum::Enum(_) => Ok(Ordering::Less),
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible to fully deprecate Datum?

Copy link
Member Author

Choose a reason for hiding this comment

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

Let's give it a try.

Copy link
Member

@breezewish breezewish left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-srebot ti-srebot removed the status/LGT1 Indicates that a PR has LGTM 1. label Nov 17, 2020
@ti-srebot ti-srebot added the status/LGT2 Indicates that a PR has LGTM 2. label Nov 17, 2020
@skyzh
Copy link
Member

skyzh commented Nov 17, 2020

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Nov 17, 2020
@ti-srebot
Copy link
Contributor

/run-all-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants