[ 
https://issues.apache.org/jira/browse/DRILL-6544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604633#comment-16604633
 ] 

ASF GitHub Bot commented on DRILL-6544:
---------------------------------------

agozhiy commented on a change in pull request #1449: DRILL-6544: Timestamp 
value in Drill UI showed inconsistently with th…
URL: https://github.com/apache/drill/pull/1449#discussion_r215339693
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java
 ##########
 @@ -685,6 +685,18 @@ private ExecConstants() {
   public static final String WEB_LOGS_MAX_LINES = "web.logs.max_lines";
   public static final OptionValidator WEB_LOGS_MAX_LINES_VALIDATOR = new 
PositiveLongValidator(WEB_LOGS_MAX_LINES, Integer.MAX_VALUE, null);
 
+  public static final String WEB_TIMESTAMP_DISPLAY_FORMAT = 
"web.timestamp.display_format";
+  public static final OptionValidator WEB_TIMESTAMP_DISPLAY_FORMAT_VALIDATOR = 
new StringValidator(WEB_TIMESTAMP_DISPLAY_FORMAT,
+      new OptionDescription("Display format template for timestamp. If empty 
then the default formatting will be used."));
 
 Review comment:
   Updated the descriptions.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Timestamp value in Drill UI showed inconsistently with the same value 
> retrieved from sqline
> -------------------------------------------------------------------------------------------
>
>                 Key: DRILL-6544
>                 URL: https://issues.apache.org/jira/browse/DRILL-6544
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.14.0
>            Reporter: Anton Gozhiy
>            Assignee: Anton Gozhiy
>            Priority: Minor
>
> *Query:*
> {code:sql}
> select timestamp '2008-2-23 12:23:34' from (values(1));
> {code}
> *Expected result (from sqline):*
> 2008-02-23 12:23:34.0
> *Actual result (from Drill UI):*
> 2008-02-23T12:23:34



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to