Description
Affected both thin and jdbc v2 drivers.
jdbc spec says :
ORDINAL_POSITION int => index of column in table (starting at 1)
but in fact it is a position in the metadata table itself, not position in the original table.
For example we have table
Person(id int primary key, val1 int, val2 bigint, val3 int)
Oridinal number for val3 is 4, but if we specified patterns that leave only 1 result (PUBLIC.Person.val3) returned value will be 1. If we select 2 columns by pattern - 2 or 1 and so on.
Attachments
Issue Links
- is blocked by
-
IGNITE-11434 SQL: Create a view with list of existing COLUMNS
- Open