Skip to content

FIX S091 #84

Closed
wants to merge 3 commits into from
Closed

FIX S091 #84

wants to merge 3 commits into from

Conversation

makssent
Copy link
Collaborator

@makssent makssent commented Aug 20, 2024

Fixes #37.

request: CREATE TABLE S091_01 (ARR_INT2 INTEGER[4,5], ARR_INT3 INTEGER[4,5,6], ARR_INT6 INTEGER[4,5,6,7])
err message: You have an error in your SQL syntax: CREATE TABLE S091_01 (ARR_INT2 INTEGER45 ARR_INT3 INTEGER456 ARR_INT6 INTEGER4567) null

New Err message: Types.ARRAY: SQL type for this field is not yet supported.

new err message:
Cannot invoke "org.antlr.v4.runtime.tree.ParseTree.accept(org.antlr.v4.runtime.tree.ParseTreeVisitor)" because "tree" is null


@makssent makssent changed the title FIX S091 (need finish) FIX S091 Aug 20, 2024
Copy link
Collaborator

@TedCraft TedCraft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Мне не очень нравится идея пихать определения массивов в правило dataTypeName, т.к. по хорошему там исходя из названия должны быть только названия типов данных, а не сами типы. Я бы это правило поднял в сам dataType как альтернативное подправило (как сделано с dataTypeName LP_ STRING_ (COMMA_ STRING_)* RP_)

@makssent
Copy link
Collaborator Author

Замечания увидел, исправлю

@makssent
Copy link
Collaborator Author

makssent commented Sep 5, 2024

Cannot invoke "org.antlr.v4.runtime.tree.ParseTree.accept(org.antlr.v4.runtime.tree.ParseTreeVisitor)" because "tree" is null

@TedCraft TedCraft closed this Sep 9, 2024
@TedCraft TedCraft reopened this Sep 9, 2024
@makssent makssent closed this Sep 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add S091 Basic array support
2 participants