We are using codegen to create external Hive tables.
Sqoop 1.4.4 was using getColumnName() in SqlManager.java and ResultSetPrinter.java. It looks like SQOOP-585 does the opposite, using getColumnLabel() first.
The issue can be seen when column labels (aliases) contain spaces, which is often the case for Teradata sources. When running codegen, the resulting Hive create statement will persist the spaces in the column labels as column names. The desired behavior is to use the column names instead.
Sqoop 1.4.4 Example: