Git Product home page Git Product logo

substrait-fiddle's Introduction

⚠️ IMPORTANT: This repository has been moved to the Voltron Data organization, and will no longer be maintained here. All future development will be made here https://github.com/voltrondata/substrait-fiddle.

Substrait Fiddle

Visualize a Substrait plan

Features

  • Code a substrait plan in JSON/SQL or upload a file.
  • Validate a substrait plan on specified override levels.
  • Visualize the generated substrait plan and save it as SVG or PNG.
  • Explore the plan's relations and their constituent properties

Installation

Fiddle requires the substrait-fiddle-backend for APIs. Prior installation and execution of the service is required.

Clone the github repository

git clone https://github.com/sanjibansg/substrait-fiddle.git
cd substrait-fiddle/

Install the requirements

npm install

Compile and hot-reload for development

npm run dev

Compile and minify for production

npm run build

Preview the production

npm run preview

License

Apache-2.0 license

substrait-fiddle's People

Contributors

sanjibansg avatar westonpace avatar

Watchers

 avatar  avatar

substrait-fiddle's Issues

Specify the github repository in the webpage

Considering the codebase is currently hosted in a personal public repository, it may be difficult for potential contributors to find the codebase. Thus, mentioning the GitHub repository on the webpage will be helpful.

Fix CI jobs so that they can work on PRs from forks

Currently they rely on a secret to download the backend repo. I think this is because the backend repo was originally not public. Now that the backend repo is public that secret should no longer be needed.

Make SQL the default entry format

We could perhaps even remove the JSON text entry since JSON entry is more likely to come in via upload then it is by entering in text.

Support for shareable link

Once a user generates a plot using a plan, they should be able to share the link to the fiddle page. The feature should store the necessary data for the plot generation, so others can access it.

Better rendering of expressions

Currently, if I put in the query SELECT add(l_linenumber, 2) FROM lineitem then the expression is serialized (if you click on the project node you will see this in the list of properties) as:

expressions[0] | (l_orderkey,2)

The column is wrong (l_orderkey instead of l_linenumber) and the function is missing. Ideally, it would be nicer to have:

expressions[0] | add(l_linenumber,2)

Improve mobile support

I don't expect many people to be using the site on mobile so this is pretty low priority. Currently the fields get jumbled together and there is overlap. To start with, we should collapse the two-column display into a single column display.

image

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.