From 5ebc06b20cebb268468072cdd42ccf0869d77675 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Fri, 20 Aug 2021 17:03:06 -0600 Subject: [PATCH 1/3] Update links to reflect repository move to sqlparser-rs GitHub org --- CHANGELOG.md | 2 +- Cargo.toml | 4 ++-- README.md | 6 +++--- docs/releasing.md | 4 ++-- tests/sqlparser_common.rs | 2 +- tests/sqlparser_postgres.rs | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e1ae4a4..ae8e54e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), Given that the parser produces a typed AST, any changes to the AST will technically be breaking and thus will result in a `0.(N+1)` version. We document changes that break via addition as "Added". ## [Unreleased] -Check https://github.com/ballista-compute/sqlparser-rs/commits/main for undocumented changes. +Check https://github.com/sqlparser-rs/sqlparser-rs/commits/main for undocumented changes. ## [0.9.0] 2020-03-21 diff --git a/Cargo.toml b/Cargo.toml index e0ee25ff..cf1a71ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,10 +3,10 @@ name = "sqlparser" description = "Extensible SQL Lexer and Parser with support for ANSI SQL:2011" version = "0.9.1-alpha.0" authors = ["Andy Grove "] -homepage = "https://github.com/ballista-compute/sqlparser-rs" +homepage = "https://github.com/sqlparser-rs/sqlparser-rs" documentation = "https://docs.rs/sqlparser/" keywords = [ "ansi", "sql", "lexer", "parser" ] -repository = "https://github.com/ballista-compute/sqlparser-rs" +repository = "https://github.com/sqlparser-rs/sqlparser-rs" license = "Apache-2.0" include = [ "src/**/*.rs", diff --git a/README.md b/README.md index cbda4111..61b6ee6e 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Version](https://img.shields.io/crates/v/sqlparser.svg)](https://crates.io/crates/sqlparser) -[![Build Status](https://github.com/ballista-compute/sqlparser-rs/workflows/Rust/badge.svg?branch=main)](https://github.com/ballista-compute/sqlparser-rs/actions?query=workflow%3ARust+branch%3Amain) +[![Build Status](https://github.com/sqlparser-rs/sqlparser-rs/workflows/Rust/badge.svg?branch=main)](https://github.com/sqlparser-rs/sqlparser-rs/actions?query=workflow%3ARust+branch%3Amain) [![Coverage Status](https://coveralls.io/repos/github/ballista-compute/sqlparser-rs/badge.svg?branch=main)](https://coveralls.io/github/ballista-compute/sqlparser-rs?branch=main) [![Gitter Chat](https://badges.gitter.im/sqlparser-rs/community.svg)](https://gitter.im/sqlparser-rs/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) @@ -123,10 +123,10 @@ resources. [tdop-tutorial]: https://eli.thegreenplace.net/2010/01/02/top-down-operator-precedence-parsing [`cargo fmt`]: https://github.com/rust-lang/rustfmt#on-the-stable-toolchain -[current issues]: https://github.com/ballista-compute/sqlparser-rs/issues +[current issues]: https://github.com/sqlparser-rs/sqlparser-rs/issues [DataFusion]: https://github.com/apache/arrow-datafusion [LocustDB]: https://github.com/cswinter/LocustDB -[Ballista]: https://github.com/ballista-compute/ballista +[Ballista]: https://github.com/apache/arrow-datafusion/tree/master/ballista [Pratt Parser]: https://tdop.github.io/ [sql-2016-grammar]: https://jakewheat.github.io/sql-overview/sql-2016-foundation-grammar.html [sql-standard]: https://en.wikipedia.org/wiki/ISO/IEC_9075 diff --git a/docs/releasing.md b/docs/releasing.md index 58509eca..451cbab8 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -2,7 +2,7 @@ ## Prerequisites Publishing to crates.io has been automated via GitHub Actions, so you will only -need push access to the [ballista-compute GitHub repository](https://github.com/ballista-compute/sqlparser-rs) +need push access to the [sqlparser-rs GitHub repository](https://github.com/sqlparser-rs/sqlparser-rs) in order to publish a release. We use the [`cargo release`](https://github.com/sunng87/cargo-release) @@ -41,7 +41,7 @@ $ cargo install cargo-release * Create a new tag (e.g. `v0.8.0`) locally * Push the new tag to the specified remote (`upstream` in the above example), which will trigger a publishing process to crates.io as part of - the [corresponding GitHub Action](https://github.com/ballista-compute/sqlparser-rs/blob/main/.github/workflows/rust.yml). + the [corresponding GitHub Action](https://github.com/sqlparser-rs/sqlparser-rs/blob/main/.github/workflows/rust.yml). Note that credentials for authoring in this way are securely stored in the (GitHub) repo secrets as `CRATE_TOKEN`. diff --git a/tests/sqlparser_common.rs b/tests/sqlparser_common.rs index 04143a1b..783b90a5 100644 --- a/tests/sqlparser_common.rs +++ b/tests/sqlparser_common.rs @@ -3295,7 +3295,7 @@ fn parse_start_transaction() { verified_stmt("START TRANSACTION ISOLATION LEVEL REPEATABLE READ"); verified_stmt("START TRANSACTION ISOLATION LEVEL SERIALIZABLE"); - // Regression test for https://github.com/ballista-compute/sqlparser-rs/pull/139, + // Regression test for https://github.com/sqlparser-rs/sqlparser-rs/pull/139, // in which START TRANSACTION would fail to parse if followed by a statement // terminator. assert_eq!( diff --git a/tests/sqlparser_postgres.rs b/tests/sqlparser_postgres.rs index 6f8b4f30..5fa6d1bf 100644 --- a/tests/sqlparser_postgres.rs +++ b/tests/sqlparser_postgres.rs @@ -233,7 +233,7 @@ fn parse_create_table_with_inherit() { #[test] fn parse_create_table_empty() { // Zero-column tables are weird, but supported by at least PostgreSQL. - // + // let _ = pg_and_generic().verified_stmt("CREATE TABLE t ()"); } From 3e343922303df0b7679f229d38a5ee52958d1f88 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Fri, 20 Aug 2021 17:05:02 -0600 Subject: [PATCH 2/3] Update links to reflect repository move to sqlparser-rs GitHub org --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61b6ee6e..7e8a47e7 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Version](https://img.shields.io/crates/v/sqlparser.svg)](https://crates.io/crates/sqlparser) [![Build Status](https://github.com/sqlparser-rs/sqlparser-rs/workflows/Rust/badge.svg?branch=main)](https://github.com/sqlparser-rs/sqlparser-rs/actions?query=workflow%3ARust+branch%3Amain) -[![Coverage Status](https://coveralls.io/repos/github/ballista-compute/sqlparser-rs/badge.svg?branch=main)](https://coveralls.io/github/ballista-compute/sqlparser-rs?branch=main) +[![Coverage Status](https://coveralls.io/repos/github/sqlparser-r/sqlparser-rs/badge.svg?branch=main)](https://coveralls.io/github/sqlparser-r/sqlparser-rs?branch=main) [![Gitter Chat](https://badges.gitter.im/sqlparser-rs/community.svg)](https://gitter.im/sqlparser-rs/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) The goal of this project is to build a SQL lexer and parser capable of parsing From 9c9d9293b509f496cf112235871762e346482bd8 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Sat, 21 Aug 2021 06:54:49 -0600 Subject: [PATCH 3/3] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e8a47e7..205480b9 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Version](https://img.shields.io/crates/v/sqlparser.svg)](https://crates.io/crates/sqlparser) [![Build Status](https://github.com/sqlparser-rs/sqlparser-rs/workflows/Rust/badge.svg?branch=main)](https://github.com/sqlparser-rs/sqlparser-rs/actions?query=workflow%3ARust+branch%3Amain) -[![Coverage Status](https://coveralls.io/repos/github/sqlparser-r/sqlparser-rs/badge.svg?branch=main)](https://coveralls.io/github/sqlparser-r/sqlparser-rs?branch=main) +[![Coverage Status](https://coveralls.io/repos/github/sqlparser-rs/sqlparser-rs/badge.svg?branch=main)](https://coveralls.io/github/sqlparser-rs/sqlparser-rs?branch=main) [![Gitter Chat](https://badges.gitter.im/sqlparser-rs/community.svg)](https://gitter.im/sqlparser-rs/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) The goal of this project is to build a SQL lexer and parser capable of parsing