Kevin Liew created PHOENIX-3306:
-----------------------------------
Summary: SQL_DATA_TYPE and SQL_DATETIME_SUB is always NULL
Key: PHOENIX-3306
URL: https://issues.apache.org/jira/browse/PHOENIX-3306
Project: Phoenix
Issue Type: Bug
Affects Versions: 4.7.0
Environment: HDP 2.5
Reporter: Kevin Liew
Assignee: Kevin Liew
https://msdn.microsoft.com/en-us/library/ms714632(v=vs.85).aspx
{noformat}
This column is the same as the DATA_TYPE column, except for interval and
datetime data types.
For interval and datetime data types, the SQL_DATA_TYPE field in the result set
will return SQL_INTERVAL or SQL_DATETIME, and the SQL_DATETIME_SUB field will
return the subcode for the specific interval or datetime data type. (See
Appendix D: Data Types.)
{noformat}
BI tools or SDKs may use this metadata field to do type conversion.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)