You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Kevin Liew (JIRA)" <ji...@apache.org> on 2016/09/21 19:25:20 UTC

[jira] [Created] (PHOENIX-3306) SQL_DATA_TYPE and SQL_DATETIME_SUB is always NULL

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)