-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add silent mode to odpscmd #5
Comments
Actually there is. |
How can i get the instance id using odpscmd? Besides, is this method a kind of hack or a persistent feature provided officially? It seems not to be found in official manual. |
Please try |
I've tried 0.30.2-public(newest by now) 0.29.6 and 0.27.1 but it doesn't work still with table patterns. Should i make specific configuration or use client of a certain version? |
Have you try -M option?
As shown above , the result is in csv mode. |
Yeah i try with -M option.
|
Not because of the public version problem, but because you are using instance tunnel . Try to edit odps_config.ini file, and disable the instance tunnel.
|
Could we add silent mode to odpscmd as mysql and hive do?
i.e. Make the stdout output of odpscmd -e "sql" the pure query result without table pattern like:
(a weird newline here in stdout)
+----+
| |
+----+
This would really help if I want to save query result to local disk since odpscmd provides no query result -> local_disk command.
The text was updated successfully, but these errors were encountered: