Liam De Lee created HIVE-19943:
----------------------------------

             Summary: Header values keep showing up in result sets
                 Key: HIVE-19943
                 URL: https://issues.apache.org/jira/browse/HIVE-19943
             Project: Hive
          Issue Type: Bug
          Components: Query Processor
    Affects Versions: 2.1.0
         Environment: Hdinsight Hive interactivequerry

[Components|https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-component-versioning#hadoop-components-available-with-different-hdinsight-versions]
            Reporter: Liam De Lee


We are using the tblproperties ("skip.header.line.count"="1") when creating an 
external table.

When we do a select * from table we get it back as expected without the header 
present in the result set.

However when we do for instance a count(1) we get the header back in this count 
(tested with a select * from table and paste it in notepad to find the amount 
of rows)

If we also do this with a select distinct(column) from table we also get the 
header as a distinct value.

file structure:
||_TESTING_TYPE||
|adf|
|hyg|
|abc|



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to