Code Monkey home page Code Monkey logo

futdb's People

Contributors

philass avatar

Watchers

 avatar

Forkers

pranay144

futdb's Issues

PEP8 style fixes in repl.py

When running

pylint repl.py

output is

************* Module repl
repl.py:19:4: W0603: Using the global statement (global-statement)
repl.py:30:8: C0415: Import outside toplevel (futhark) (import-outside-toplevel)
repl.py:62:4: W0603: Using the global statement (global-statement)

Need to change structure of REPL to fix these issues, and may not be trival

Add support for SQL group by statements

Currently harkdb doesn't support Group by statements.

Steps

  • Get columns in groupby statement
  • Make sure select consists of only agg functions and cols in group by
  • Come up with Futhark implementation
  • Compile to said Futhark Implementation

Compiler warning in REPL during query library generation

When running
python3 repl.py < test.txt

Where test.txt has contents

.import test_files/ex.csv data
select ID, Price from data
.exit

results in the following compiler warning

harkdb> ['data']
harkdb> {'select': ['ID', 'Price'], 'from': ['data'], 'where': [], 'having': [], 'group by': []}
futhark pyopencl --library ../futhark/db_sel.fut
/usr/local/lib/python3.7/site-packages/pyopencl/init.py:235: CompilerWarning: Non-empty compiler output encountered. Set the environment variable PYOPENCL_COMPILER_OUTPUT=1 to see more.
"to see more.", CompilerWarning)

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.