Giter VIP home page Giter VIP logo

fuzz-testing-for-spark's Introduction

Hello, folks!

GitHub Stats

fuzz-testing-for-spark's People

Contributors

maropu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fuzz-testing-for-spark's Issues

Gnerates Spark SQL acceptable SQL inputs

SQLSmith use grammar.cc and expr.cc to generates SQL fuzz. Among generated ones, I found a set of SQL statements below that Spark currently does not support;

  • OFFSET clauses (SPARK-28330)
  • TEXT type name
  • main default database
  • LATERAL subqueries
  • 1 for a true literal and 0 for a false literal
  • TABLESAMPLE <method_name> (sample_size)
  • UPDATE/MERGE/DELETE statements
  • JOIN syntax
postgres=# SELECT * FROM t1
postgres=#     INNER JOIN t2 
postgres=#         LEFT JOIN t3
postgres=#         ON t2.v2 = t3.v3
postgres=#     ON t1.v1 = t2.v2;
 v1 | v2 | v3 
----+----+----
(0 rows)

These issues above have been addressed in lib/sqlsmith-native/sqlsmith-1.2.1.patch.

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.