Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggest add select sth syntax #68

Open
l1t1 opened this issue Jun 7, 2024 · 0 comments
Open

suggest add select sth syntax #68

l1t1 opened this issue Jun 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@l1t1
Copy link

l1t1 commented Jun 7, 2024

Description

needn't add from clause
such as
select 1,select 1 as a,select 1 a

it isn't supported now

Polars CLI version 0.8.0
Type .help for help.
〉select 1 a;
Error: no table name provided in query
〉select 1 as a;
Error: no table name provided in query
〉select 1 ;
Error: no table name provided in query
〉create table t(a int);
Error: only CREATE TABLE AS SELECT is supported
〉create table as select 1 a;
Error: sql parser error: Expected end of statement, found: select at Line: 1, Column 17
@l1t1 l1t1 added the enhancement New feature or request label Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant