Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3306

SQL_DATA_TYPE and SQL_DATETIME_SUB is always NULL

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.7.0
    • Fix Version/s: None
    • Labels:
    • Environment:

      HDP 2.5

      Description

      https://msdn.microsoft.com/en-us/library/ms714632(v=vs.85).aspx

      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.)
      

      BI tools or SDKs may use this metadata field to do type conversion.

        Attachments

          Activity

            People

            • Assignee:
              kliew Kevin Liew
              Reporter:
              kliew Kevin Liew
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: