Skip to content

Exasol dialect: Add support for JSON_VALUE #1

@nnamdi16

Description

@nnamdi16

Description

SQLGlot currently does not support the JSON_VALUE function in the Exasol dialect.

When parsing Exasol SQL containing JSON_VALUE, SQLGlot either:

• fails to parse, or
• does not generate correct Exasol SQL

Parent issue: tobymao#6695


Example

SELECT JSON_VALUE(data, '$.user.name')
FROM users;

Current Behaviour

SQLGlot does not correctly parse and generate this function in the Exasol dialect.


Expected Behaviour

SQLGlot should fully support parsing and generating JSON_VALUE for the Exasol dialect.


Proposed solution

Add:
• Parser support
• Expression support
• Generator support

for JSON_VALUE in the Exasol dialect.

Metadata

Metadata

Assignees

Labels

featureProduct feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions