[jira] [Updated] (CALCITE-3238) Support Time Zone suffix of DateTime types for SqlDataTypeSpec

2019-08-15 Thread Danny Chan (JIRA)


 [ 
https://issues.apache.org/jira/browse/CALCITE-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Danny Chan updated CALCITE-3238:

Affects Version/s: 1.20.0
  Component/s: core

> Support Time Zone suffix of DateTime types for SqlDataTypeSpec
> --
>
> Key: CALCITE-3238
> URL: https://issues.apache.org/jira/browse/CALCITE-3238
> Project: Calcite
>  Issue Type: Sub-task
>  Components: core
>Affects Versions: 1.20.0
>Reporter: Danny Chan
>Assignee: Danny Chan
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.21.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> This is the grammar copied from SQL-2011:
> {code:sql}
>  ::=
> DATE
>   | TIME [] [  time zone> ]
>   | TIMESTAMP []
> [  ]
>  ::=
>   WITH TIME ZONE
> | WITHOUT TIME ZONE
>  ::=
>
>  ::=
>
>  ::=
>
> {code}
> We extend this grammar to support "with local time zone" definition:
> {code:sql}
> time(0) with local time zone
> timestamp(0) with local time zone
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (CALCITE-3238) Support Time Zone suffix of DateTime types for SqlDataTypeSpec

2019-08-12 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/CALCITE-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated CALCITE-3238:

Labels: pull-request-available  (was: )

> Support Time Zone suffix of DateTime types for SqlDataTypeSpec
> --
>
> Key: CALCITE-3238
> URL: https://issues.apache.org/jira/browse/CALCITE-3238
> Project: Calcite
>  Issue Type: Sub-task
>Reporter: Danny Chan
>Assignee: Danny Chan
>Priority: Major
>  Labels: pull-request-available
>
> This is the grammar copied from SQL-2011:
> {code:sql}
>  ::=
> DATE
>   | TIME [] [  time zone> ]
>   | TIMESTAMP []
> [  ]
>  ::=
>   WITH TIME ZONE
> | WITHOUT TIME ZONE
>  ::=
>
>  ::=
>
>  ::=
>
> {code}
> We extend this grammar to support "with local time zone" definition:
> {code:sql}
> time(0) with local time zone
> timestamp(0) with local time zone
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (CALCITE-3238) Support Time Zone suffix of DateTime types for SqlDataTypeSpec

2019-08-12 Thread Danny Chan (JIRA)


 [ 
https://issues.apache.org/jira/browse/CALCITE-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Danny Chan updated CALCITE-3238:

Description: 
This is the grammar copied from SQL-2011:

{code:sql}
 ::=
DATE
  | TIME [] [  ]
  | TIMESTAMP []
[  ]

 ::=
  WITH TIME ZONE
| WITHOUT TIME ZONE

 ::=
   

 ::=
   

 ::=
   
{code}

We extend this grammar to support "with local time zone" definition:

{code:sql}
time(0) with local time zone
timestamp(0) with local time zone
{code}


  was:
This is the grammar copied from SQL-2011:

{code:sql}
 ::=
DATE
  | TIME [] [  ]
  | TIMESTAMP []
[  ]

 ::=
  WITH TIME ZONE
| WITHOUT TIME ZONE

 ::=
   

 ::=
   

 ::=
   
{code}



> Support Time Zone suffix of DateTime types for SqlDataTypeSpec
> --
>
> Key: CALCITE-3238
> URL: https://issues.apache.org/jira/browse/CALCITE-3238
> Project: Calcite
>  Issue Type: Sub-task
>Reporter: Danny Chan
>Assignee: Danny Chan
>Priority: Major
>
> This is the grammar copied from SQL-2011:
> {code:sql}
>  ::=
> DATE
>   | TIME [] [  time zone> ]
>   | TIMESTAMP []
> [  ]
>  ::=
>   WITH TIME ZONE
> | WITHOUT TIME ZONE
>  ::=
>
>  ::=
>
>  ::=
>
> {code}
> We extend this grammar to support "with local time zone" definition:
> {code:sql}
> time(0) with local time zone
> timestamp(0) with local time zone
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (CALCITE-3238) Support Time Zone suffix of DateTime types for SqlDataTypeSpec

2019-08-09 Thread Danny Chan (JIRA)


 [ 
https://issues.apache.org/jira/browse/CALCITE-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Danny Chan updated CALCITE-3238:

Description: 
This is the grammar copied from SQL-2011:

{code:sql}
 ::=
DATE
  | TIME [] [  ]
  | TIMESTAMP []
[  ]

 ::=
  WITH TIME ZONE
| WITHOUT TIME ZONE

 ::=
   

 ::=
   

 ::=
   
{code}


> Support Time Zone suffix of DateTime types for SqlDataTypeSpec
> --
>
> Key: CALCITE-3238
> URL: https://issues.apache.org/jira/browse/CALCITE-3238
> Project: Calcite
>  Issue Type: Sub-task
>Reporter: Danny Chan
>Assignee: Danny Chan
>Priority: Major
>
> This is the grammar copied from SQL-2011:
> {code:sql}
>  ::=
> DATE
>   | TIME [] [  time zone> ]
>   | TIMESTAMP []
> [  ]
>  ::=
>   WITH TIME ZONE
> | WITHOUT TIME ZONE
>  ::=
>
>  ::=
>
>  ::=
>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)