GithubHelp home page GithubHelp logo

classicvalues / zetasql Goto Github PK

View Code? Open in Web Editor NEW

This project forked from discord/zetasql

1.0 1.0 0.0 1.65 MB

ZetaSQL - Analyzer Framework for SQL

License: Apache License 2.0

Python 5.28% C++ 83.34% Java 7.31% Yacc 3.33% Lex 0.68% Shell 0.06%

zetasql's Introduction

ZetaSQL - Analyzer Framework for SQL

ZetaSQL defines a language (grammar, types, data model, and semantics) as well as a parser and analyzer. It is not itself a database or query engine. Instead it is intended to be used by multiple engines wanting to provide consistent behavior for all semantic analysis, name resolution, type checking, implicit casting, etc. Specific query engines may not implement all features in the ZetaSQL language and may give errors if specific features are not supported. For example, engine A may not support any updates and engine B may not support analytic functions.

Status of Project and Roadmap

This codebase is being open sourced in multiple phases:

  1. Parser and Analyzer Complete
  • Initial release includes only a subset of tests
  1. Reference Implementation
  2. Compliance Tests
  • includes framework for validating compliance of arbitrary engines
  1. Misc tooling

Until all this code is released, we cannot provide any guarantees of API stability and cannot accept contributions. We will also be releasing more documentation over time, particular related to developing engines with this framework. Documentation on the language itself is fairly complete.

How to Build

ZetaSQL uses bazel for building and (most) dependency resolution. However, the following packages must be installed separately:

bison (>=3.1)

  • For instance, apt-get install bison flex (>=2.6.1)
  • For instance, apt-get install flex

Then simply run: bazel build zetasql/...

With docker

TODO: Add docker build script.

License

Apache License 2.0

zetasql's People

Contributors

samschlegel avatar

Stargazers

Classic Values avatar

Watchers

 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.