Comments (2)
After thinking about this more, this seems like it might be worth doing. It looks like the benefits could be:
- Some brevity offered by SQL
- Further differentiate capabilities of the package from other packages
- It is an interesting problem and maybe it comes useful down the line for running on structured data.
I have been experimenting with pyparsing
as I have time here and there. Code is in an ipython notebook gist with most of a SQL parser implementation complete.
Next steps will be:
- Do more testing to make sure the parser works correctly
- See if the SQL subset currently there is worth cutting down further
- Implement a parsed SQL to
ScalaFunctional
transformations compiler (this is the hardest one and I need to read more to find what is the best way to do this). - Separate out different expressions so they can be used independently to parse some of the LINQ functions when the input is a string (query).
from pyfunctional.
Closing this since it seems far off. I like the idea, but this will require writing a SQL parser/compiler which seems beyond the scope of just this project. If this happens it would be in a separate package and PyFunctional
would use it as a library.
from pyfunctional.
Related Issues (20)
- pyfunctional is incompatible with multiprocess because dill HOT 7
- any kind of join with different key name HOT 1
- Could I use the index in the map function HOT 1
- Latest version has pandas/numpy as requirements HOT 2
- for_each doesn't return the original sequence but returns None HOT 8
- Unexpected behaviour on chain with .drop_right HOT 2
- Unexpected Sequence wrapping from grouped HOT 7
- Empty sequence HOT 6
- Tuple argument unpacking functionality HOT 4
- lazy_parallellize having trouble with function context? HOT 3
- "peek" functionality HOT 1
- seq() converts pandas DataFrame into Sequence HOT 8
- Cache to file and auto-load from cache HOT 4
- [Question] VSCode language server doesn't see the pyfunctional package HOT 3
- Thank you! HOT 1
- More dictionary/tuple list helpers HOT 5
- the installation of the PyFunctional package has failed due to a missing item in the package archive. HOT 3
- Old link to documentation in pypi HOT 3
- module functions and variables not found HOT 5
- Async Support HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyfunctional.