Skip to content

TIME WITH TIME ZONE #1364

Closed
Closed
@sixinli

Description

@sixinli

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. SELECT TIMESTAMP WITH TIME ZONE '2004-10-19 10:23:54+02'
  2. Parsing this SQL using JSqlParser with this statements
org.junit.ComparisonFailure: Expected query to parse but it failed to parse (error: Encountered unexpected token: "TIMESTAMP WITH TIME ZONE" <DT_ZONE>
    at line 1, column 8.

Was expecting one of:

    "*"
    "STRAIGHT_JOIN"
) expected:<[tru]e> but was:<[fals]e>

Expected behavior
expect the query to parse

System

  • postgres
  • java 11
  • JSqlParser 4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions