-
Notifications
You must be signed in to change notification settings - Fork 333
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
implement built-in cli client #2596
Comments
Hi @waynexia , I am interested in working on this, but I'll like some clarifications.
Those are the question I have for now, I will add more as I continue to go through the code. |
Hi @Lilit0x!
We don't need to do this, at least for now. At this stage, this client only needs to support some fundamental functionalities. Others like switching database or client-side states are not on the list. For setting up database, you can take |
Thanks for expatiating, it should be pretty easy. Below is a rough outline of how I'll implement it.
|
Looks good. If the input file is not provided we should start an interactive prompt interface like before. |
What problem does the new feature solve?
Implement a simple native cli client like
psql
ormysql
.What does the feature do?
Extend the
greptime cli
subcommand. Implementgreptime cli client
. It can connect to frontend and read/send SQL interactively via gRPC. Or read and execute a*.sql
file.Implementation challenges
No response
The text was updated successfully, but these errors were encountered: