Git Product home page Git Product logo

dcparser's Introduction

DCParser - SQL Parser optimized based on PingCAP/parser

Language Go Report Card GoDoc Build Status codecov

Introduction

DCParser is a single project built for compatibility with TiDB for PostgreSQL. It is based on PingCAP/parser, but it is difficult to merge into the original parser repository because there are many changes. So a new project is created to provide parsing abilities for TiDB for PostgreSQL.

Development

The current development is driven by the implementation of TiDB for PostgreSQL. The implements of Schema structure, system functions, system views and other functions of TiDB for PostgreSQL depend on the parser modification. Currently, the DCParser can fully meet the functional requirements of the TiDB for PostgreSQL. If TiDB for PostgreSQL needs new system functions, system views and other functions, you also need to modify them in DCParser.

Quick start

DCParser project is the sql parser of TiDB for PostgreSQL. The most common way to use it is to import it into the TiDB for PostgreSQL project and play its role by parsing sql statements.

DCParser is written in Go language. SO to use DCParser, you need to ensure that the Go environment is installed.

In the TiDB for PostgreSQL project, it has been declared that DCParser needs to be pulled. You can use the vendor command to get the project before compiling the project.

In the GOPATH of the development environment, there will be the source files of the DCParser project that TiDB for PostgreSQL depends on. Modify the parser.y file, and then use the following command to compile the new parser.go file.

goyacc -o parser.go parser.y 

Contributing

We greatly welcome and appreciate developers to contribute to DCParser to realize other features of TiDB for PostgreSQL.

License

The license is pending.

dcparser's People

Contributors

tangenta avatar crazycs520 avatar spongedu avatar tiancaiamao avatar lysu avatar alivxxx avatar kennytm avatar ailinkid avatar exialin avatar orion7r avatar xuhuaiyu avatar pupillord avatar bb7133 avatar feloxx avatar leiysky avatar qw4990 avatar andrewdi avatar lzmhhh123 avatar jackysp avatar lauhg avatar foreyes avatar wjhuang2016 avatar deardrops avatar eurekaka avatar zhenghaoz avatar tony612 avatar cfzjywxk avatar gauss1314 avatar winkyao avatar lonng avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.