Comments (1)
Hey @emredjan, thanks for opening the issue!
Addressing your second issue:
xeus-sql
depends on the chain of the sql
command being valid for it to run. The only distinction we have on the xeus-sql
side for sql
code is if it has a rich display output (tables and graphs) or not. So, I'm not very knowledgeable in sql
sorry, but I'd say this is not a valid command to put up in a chain and that's why it's not working. I don't think there's a super easy way to fix this since it's coming from upstream SOCI. Unless there's only a few use cases where something like this happens, then we could maybe create an if
and treat it differently.
Regarding your first issue... I think it falls into the same category of it's not a "chainable" command and that's why it doesn't run. But since this use case doesn't work at all, it'd be good if we could find a solution, but none of the things I'm thinking now are simple to do.
Maybe we could have a kind of cache tool... to store variable values. But I think the retrieving system for these would be very complicated.
Maybe the best solution would be transforming everything that stores values in to magic commands? The CRTP syntax parser logic for the xvega
stuff could be easily reused for this. I can expand on this if folks are interested in contributing, in the moment I can't really spend so much time on this project.
Other than that, I really don't know how this could be fixed.
Everyone is welcome to chime in! With ideas or code! I will gladly review PRs and help as much as I can :)
from xeus-sql.
Related Issues (20)
- Add tests to xeus-sql
- WITH clause doesn't work with SQLite HOT 8
- Support for bash, other magic? HOT 4
- Add syntax completion to SQL HOT 3
- "money" column type in Postgresql generating error HOT 2
- Possible to execute the 'slash' commands on postgres? \d \dt \list HOT 3
- paging for large result sets? HOT 9
- Kernel crashes with `terminate called after throwing an instance of 'char const*'` HOT 6
- Display number of results at top of output, rather than bottom? HOT 2
- postgres first line comment shows no results HOT 1
- Handle postgres datatype xid? query returns Error: unknown data type with typelem: 28 HOT 3
- Conda installation failing for M1 Macbook HOT 4
- Doesn't build. json == 3.11.2 ? HOT 3
- Binder is not working
- make row summary more visible
- Please confirm whether xeus-sql supports ODBC
- Please confirm whether xeus-sql supports ODBC
- How do I set up a Jupyter kernelspec for Xeus-SQL?
- MariaDB? HOT 2
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 xeus-sql.