[
https://issues.jboss.org/browse/TEIIDDES-2026?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-2026:
----------------------------------------
This is the block of code in RelationalModelProcessorImpl that is extracting the column
properties:
{code}
// Get the column information ...
final Request request = tableNode.getRequest(GetColumnsRequest.NAME, false);
final Results results = request.getResults();
final Object[] rows = results.getRows();
final int numRows = results.getRowCount();
// Results are ordered by ORDINAL_POSITION
for (int i = 0; i < numRows; ++i) {
final Object row = rows[i];
final String name = results.getString(row, 3);
final int type = results.getInt(row, 4);
final String typeName = results.getString(row, 5);
final int columnSize = results.getInt(row, 6);
// buffer length; unused
final int numDecDigits = results.getInt(row, 8);
final int numPrecRadix = results.getInt(row, 9);
final int nullable = results.getInt(row, 10);
final String remarks = results.getString(row, 11);
final String defaultValue = results.getString(row, 12);
// sql_data_type; unused
// sql_datetime_sub; unused
final int charOctetLen = results.getInt(row, 15);
// final int position = results.getInt(row,16);
// final String isNullable = results.getString(row,17);
{code}
Missed metadata on import
-------------------------
Key: TEIIDDES-2026
URL:
https://issues.jboss.org/browse/TEIIDDES-2026
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 7.7, 8.3
Reporter: Johnathon Lee
After import, NUM_DISTINCT and NUM_NULLS metadata found in the source system shows as
"-1" when the underlying datasource has values.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira