You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In youcat, if one tries to create an index on a column with the incorrect case it results in a null pointer exception.
TableUpdateRunner initially gets the column (description) through the table. This succeeds because TableDescription.getColumn() uses equalsIgnoreCase().
This allows the index creation to proceed, only to fail later (line 235) where a case-sensitive query for the column is executed and returns null.
The text was updated successfully, but these errors were encountered:
Even though the PostgreSQL back end is not case sensitive, the other specs that talk about table and column names (eg TAP) explicitly say that clients must use the names exactly as provided in the tap_schema... so case sensitive.
It's OK to use equalsIgnoreCase to make things work as long as it is thorough. The actual sequence should:
find the column in the TableDesc using equalsIgnoreCase
use the exact table name and column name (from TableDesc and ColumnDesc) in the create index statement (in case back end is case-sensitive)
In youcat, if one tries to create an index on a column with the incorrect case it results in a null pointer exception.
TableUpdateRunner initially gets the column (description) through the table. This succeeds because TableDescription.getColumn() uses equalsIgnoreCase().
This allows the index creation to proceed, only to fail later (line 235) where a case-sensitive query for the column is executed and returns null.
The text was updated successfully, but these errors were encountered: