You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Carl Steinbach (JIRA)" <ji...@apache.org> on 2012/06/14 05:12:42 UTC

[jira] [Created] (HIVE-3136) QTestUtil diff masking masks out most of 'DESCRIBE EXTENDED' output

Carl Steinbach created HIVE-3136:
------------------------------------

             Summary: QTestUtil diff masking masks out most of 'DESCRIBE EXTENDED' output
                 Key: HIVE-3136
                 URL: https://issues.apache.org/jira/browse/HIVE-3136
             Project: Hive
          Issue Type: Bug
          Components: Testing Infrastructure
            Reporter: Carl Steinbach




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HIVE-3136) QTestUtil diff masking masks out most of 'DESCRIBE EXTENDED' output

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294858#comment-13294858 ] 

Carl Steinbach commented on HIVE-3136:
--------------------------------------

Here's what the output of DESCRIBE EXTENDED looks like after it gets processed with QTestUtil.checkCliDriverResults:

{noformat}
PREHOOK: query: desc extended tbl2
PREHOOK: type: DESCTABLE
POSTHOOK: query: desc extended tbl2
POSTHOOK: type: DESCTABLE
col	string	
p	string	
	 	 
#### A masked pattern was here ####
{noformat}

And here's what it looked like before diff masking:

{noformat}
col	string	
p	string	
	 	 
Detailed Table Information	Table(tableName:tbl2, dbName:default, owner:carl, createTime:1339652050, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:[FieldSchema(name:col, type:string, comment:null), FieldSchema(name:p, type:string, comment:null)], location:pfile:/Users/carl/Work/repos/hive-test/build/ql/test/data/warehouse/tbl2, inputFormat:org.apache.hadoop.mapred.TextInputFormat, outputFormat:org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat, compressed:false, numBuckets:-1, serdeInfo:SerDeInfo(name:null, serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:{serialization.format=1}), bucketCols:[], sortCols:[], parameters:{}), partitionKeys:[FieldSchema(name:p, type:string, comment:null)], parameters:{last_modified_by=carl, last_modified_time=1339652051, PROTECT_MODE=NO_DROP_CASCADE, transient_lastDdlTime=1339652051}, viewOriginalText:null, viewExpandedText:null, tableType:MANAGED_TABLE)
{noformat}

The problem with this is that many tests depend on DESC EXTENDED to verify the contents of the StorageDescriptor, view properties, tableType, etc, etc, and all of that information is currently getting masked out.
                
> QTestUtil diff masking masks out most of 'DESCRIBE EXTENDED' output
> -------------------------------------------------------------------
>
>                 Key: HIVE-3136
>                 URL: https://issues.apache.org/jira/browse/HIVE-3136
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure
>            Reporter: Carl Steinbach
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira