[
https://issues.jboss.org/browse/TEIIDDES-1905?page=com.atlassian.jira.plu...
]
Ramesh Reddy commented on TEIIDDES-1905:
----------------------------------------
Filip, this is error introduced by the Hive driver. In Teiid we added a import property
for handling this gracefully. Now, it is user's duty to add this import property when
using the "Teiid Connection" importer to properly import the metadata from the
Hive, when using this particular version of the Hive driver. Or we need to make this
"trimColums" to true by default in the Teiid. But not force this on Designer to
provide.
All the translators have multiple import properties that can be used to customize this
importer, but so far Teiid does not have smarts in the system to expose what these
properties are so that Designer can provide a intelligent GUI on top unless they hard code
for each of the translator.
TrimColumn names should be enabled with hive translator metadata
import
-----------------------------------------------------------------------
Key: TEIIDDES-1905
URL:
https://issues.jboss.org/browse/TEIIDDES-1905
Project: Teiid Designer
Issue Type: Bug
Environment: DV Beta
Teiid Designer 8.3.Beta2
Reporter: Filip Nguyen
*Problem*
Importing Hive Tables, when using Teiid Connection >> Source model, is introducing
padding spaces into column names.
*Why*
There is a problem with Hive 0.11 driver which introduces padding spaces into metadata
(data types and column names). The problem has been resolved (TEIID-2524) but it is
necessary that dynamic VDBs that import this metadata use importer property
trimColumnNames property set to true. So it is probably needed to add this property to
importVDB-vdb.xml in the case of hive translator import in the Designer.
--
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