-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: support sub-column for informix #1958
Conversation
Greetings! I need to ask: does this really belong to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use ArrayConstructor
instead. Those calls are 2 dimensional arrays as far as I understand it, aren't them?
} | ||
{ | ||
data = RelObjectNameList() | ||
( LOOKAHEAD(5) "[" subColumnFirst=<S_LONG> "," subColumnLast=<S_LONG> "]" )? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this really about S_LONG
only? No variables or expressions here?
[ LOOKAHEAD(2) <K_COMMENT> tk=<S_CHAR_LITERAL> ] | ||
// @todo: we better should return a SEQUENCE instead of a COLUMN | ||
[ "." <K_NEXTVAL> { data.add("nextval"); } ] | ||
|
||
[ LOOKAHEAD(2) arrayConstructor = ArrayConstructor(false) ] | ||
[ LOOKAHEAD(5) arrayConstructor = ArrayConstructor(false) ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not convinced that this is the right logical order or interpretation. How can we still have an ArrayConstructor
after having this new Column
format?
In my opinion, for informix , there is a special sub-column syntax just like |
but how are those different from Arrays? |
OK, there's not much difference, I will close this pr. Sorry for that. I thought too much. Thanks for your time! |
Sorry brother, shit can happen to the best. |
try to close #1832