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

fix(parser): json index operator with alter table #61

Merged
merged 8 commits into from
Sep 9, 2020

Conversation

sbdchd
Copy link
Owner

@sbdchd sbdchd commented Sep 8, 2020

Turns out name is an Option and that expr can be a more complicated
object rather than just a string.

Previously we didn't have any tests that exercised the expr property.

I think the issues with clippy are related to: rust-lang/rust-clippy#2604

fixes: #59

Turns out `name` is an Option and that `expr` can be a more complicated
object rather than just a string.

Previously we didn't have any tests that exercised the `expr` property.
@sbdchd sbdchd added the automerge automerge with kodiak label Sep 8, 2020
sbdchd and others added 7 commits September 8, 2020 19:50
e.g.

```
error: this could be a `const fn`
367
   --> cli/src/reporter.rs:375:1
368
    |
369
375 | / fn get_violations_emoji(count: usize) -> &'static str {
370
376 | |     if count > 0 {
371
377 | |         "🚒"
372
378 | |     } else {
373
379 | |         "✅"
374
380 | |     }
375
381 | | }
376
    | |_^
377
    |
378
    = note: `-D clippy::missing-const-for-fn` implied by `-D clippy::nursery`
379
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_fn
    ```
@kodiakhq kodiakhq bot merged commit cb5a390 into master Sep 9, 2020
@kodiakhq kodiakhq bot deleted the steve/fix-parsing-alter-table-with-json-index branch September 9, 2020 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge automerge with kodiak
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot parse CREATE INDEX on a json text value
1 participant