Skip to content

Parser fails to parse TIME[STAMP] WITH TIME ZONE literals #16535

@lukaseder

Description

@lukaseder

This query fails to parse:

select timestamp with time zone '2000-01-01 00:00:00.0Z'

The error is:

org.jooq.impl.ParserException: Unexpected content after end of query input: [1:18] select timestamp [*]with time zone '2000-01-01 00:00:00.0Z'
	at org.jooq.impl.DefaultParseContext.exception(ParserImpl.java:15452)
	at org.jooq.impl.DefaultParseContext.done(ParserImpl.java:15638)
	at org.jooq.impl.DefaultParseContext.lambda$8(ParserImpl.java:1017)
	at org.jooq.impl.DefaultParseContext.wrap(ParserImpl.java:15645)
	at org.jooq.impl.DefaultParseContext.parseSelect0(ParserImpl.java:1017)
	at org.jooq.impl.ParserImpl.parseSelect(ParserImpl.java:844)
	at org.jooq.impl.ParserImpl.parseSelect(ParserImpl.java:839)
	at org.jooq.testscripts.JDBC.main(JDBC.java:38)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions