Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.12.0
Description
Getting value from result set using fully qualified name would throw exception. Only solution today is to use position of the column as opposed to column label.
String sql = "select r1.x, r2.x from r1 join r2 on r1.y=r2.y"; ResultSet res = stmt.executeQuery(sql); res.getInt("r1.x");
res.getInt("r1.x"); would throw exception unknown column even though sql specifies it.
Fix is to fix resultsetschema in semantic analyzer.
Attachments
Attachments
Issue Links
- is duplicated by
-
HIVE-14387 Add an option to skip the table names for the column headers
- Resolved
- relates to
-
HIVE-11614 CBO: Calcite Operator To Hive Operator (Calcite Return Path): ctas after order by has problem
- Resolved