-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Added precision support in cmd client #4065
Conversation
Thanks @sbouchex -- have you signed the CLA? |
fixes #2675 |
@otoolep, yep, already signed. |
+1 from me. @corylanou ? |
Confirmed CLA signed. |
@@ -30,6 +30,8 @@ var ( | |||
const ( | |||
// defaultFormat is the default format of the results when issuing queries | |||
defaultFormat = "column" | |||
|
|||
defaultPrecision = "" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, the default precision is actually nanos, right? So can you set this correctly?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for defaulting to nano
1 question what the default should actually be. |
OK, fine, I can change to nano and I will add an option to return 'RFC3339' since it can be understood more easily. So to confirm:
Client library part is not changed |
Works for me. @corylanou ? |
+1 |
Added precision support in cmd client
Added precision support in cmd client in order to have the ability to export timestamp in any support format (secondes, hour...)